summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/common/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 179a919013..6662e9ffda 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -331,6 +331,7 @@ ssize_t sim_write(int fd, const void *buf, size_t count)
331 331
332static const char *handle_special_links(const char* link) 332static const char *handle_special_links(const char* link)
333{ 333{
334#ifdef HAVE_MULTIDRIVE
334 static char buffer[MAX_PATH]; /* sufficiently big */ 335 static char buffer[MAX_PATH]; /* sufficiently big */
335 char vol_string[VOL_ENUM_POS + 8]; 336 char vol_string[VOL_ENUM_POS + 8];
336 int len = sprintf(vol_string, VOL_NAMES, 1); 337 int len = sprintf(vol_string, VOL_NAMES, 1);
@@ -348,6 +349,7 @@ static const char *handle_special_links(const char* link)
348 return buffer; 349 return buffer;
349 } 350 }
350 else 351 else
352#endif
351 return link; 353 return link;
352} 354}
353 355