diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scrounge.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scrounge.c b/src/scrounge.c index eb1ac10..7dd7134 100644 --- a/src/scrounge.c +++ b/src/scrounge.c @@ -215,7 +215,11 @@ void processMFTRecord(partitioninfo* pi, uint64 sector, uint32 flags) if(!g_verifyMode) #endif { - if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1) +#ifdef _WIN32 + if(fc_mkdir(basics.filename) == -1) +#else + if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1) +#endif { warn("couldn't create directory '" FC_PRINTF "' putting files in parent directory", basics.filename); } |