Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273
This commit is contained in:
Thomas Martitz 2014-02-23 22:33:35 +01:00
parent 3575372e01
commit 3505ad3753

View file

@ -331,6 +331,7 @@ ssize_t sim_write(int fd, const void *buf, size_t count)
static const char *handle_special_links(const char* link)
{
#ifdef HAVE_MULTIDRIVE
static char buffer[MAX_PATH]; /* sufficiently big */
char vol_string[VOL_ENUM_POS + 8];
int len = sprintf(vol_string, VOL_NAMES, 1);
@ -348,6 +349,7 @@ static const char *handle_special_links(const char* link)
return buffer;
}
else
#endif
return link;
}