diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index c39164d07f..b0927c09c6 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c | |||
@@ -49,8 +49,8 @@ DIR* opendir(char* name) | |||
49 | } | 49 | } |
50 | 50 | ||
51 | /* fixme: strtok() is not thread safe, and fat_getnext() calls yield() */ | 51 | /* fixme: strtok() is not thread safe, and fat_getnext() calls yield() */ |
52 | for ( part = strtok(name, "/"); part; | 52 | for ( part = strtok(name, "/"); part; |
53 | part = strtok(NULL, "/") ) { | 53 | part = strtok(NULL, "/")) { |
54 | int partlen = strlen(part); | 54 | int partlen = strlen(part); |
55 | /* scan dir for name */ | 55 | /* scan dir for name */ |
56 | while (1) { | 56 | while (1) { |