summaryrefslogtreecommitdiff
path: root/uisimulator/common
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-23 22:33:35 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-23 22:33:35 +0100
commit3505ad3753573ab33d73ce521fb9f52b3899561c (patch)
treea8aff1512ad0fc8087dafcded739a2e3a7ceec31 /uisimulator/common
parent3575372e0169009f1fcf3adb164c5221903d7d3c (diff)
downloadrockbox-3505ad3753573ab33d73ce521fb9f52b3899561c.tar.gz
rockbox-3505ad3753573ab33d73ce521fb9f52b3899561c.zip
Fix reds
Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273
Diffstat (limited to 'uisimulator/common')
-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