diff options
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r-- | firmware/common/dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index 001508a552..e33bb7fc8f 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c | |||
@@ -115,7 +115,7 @@ struct dirent* readdir(DIR* dir) | |||
115 | return theent; | 115 | return theent; |
116 | } | 116 | } |
117 | 117 | ||
118 | int mkdir(char *name) | 118 | int mkdir(char *name, int mode) |
119 | { | 119 | { |
120 | DIR *dir; | 120 | DIR *dir; |
121 | char namecopy[MAX_PATH]; | 121 | char namecopy[MAX_PATH]; |
@@ -125,6 +125,8 @@ int mkdir(char *name) | |||
125 | struct dirent *entry; | 125 | struct dirent *entry; |
126 | struct fat_dir newdir; | 126 | struct fat_dir newdir; |
127 | int rc; | 127 | int rc; |
128 | |||
129 | (void)mode; | ||
128 | 130 | ||
129 | if ( name[0] != '/' ) { | 131 | if ( name[0] != '/' ) { |
130 | DEBUGF("Only absolute paths supported right now\n"); | 132 | DEBUGF("Only absolute paths supported right now\n"); |