diff options
Diffstat (limited to 'uisimulator/common/filesystem-sim.c')
-rw-r--r-- | uisimulator/common/filesystem-sim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/filesystem-sim.c b/uisimulator/common/filesystem-sim.c index 8d7fb14931..0a5df0c742 100644 --- a/uisimulator/common/filesystem-sim.c +++ b/uisimulator/common/filesystem-sim.c | |||
@@ -309,6 +309,8 @@ int sim_get_os_path(char *buffer, const char *path, size_t bufsize) | |||
309 | 309 | ||
310 | const char *next; | 310 | const char *next; |
311 | volume = path_strip_volume(p, &next, true); | 311 | volume = path_strip_volume(p, &next, true); |
312 | if (volume == ROOT_VOLUME) | ||
313 | volume = 0; /* FIXME: root no longer implies volume 0 */ | ||
312 | 314 | ||
313 | if (next > p) | 315 | if (next > p) |
314 | { | 316 | { |