GUSI mkdir() lost its dummy second arg

This commit is contained in:
Jack Jansen 1996-08-06 16:06:31 +00:00
parent eb1284be97
commit 3ca6eddb12
1 changed files with 4 additions and 0 deletions

View File

@ -361,7 +361,11 @@ mac_mkdir(self, args)
if (!newgetargs(args, "s|i", &path, &mode))
return NULL;
BGN_SAVE
#ifdef USE_GUSI
res = mkdir(path);
#else
res = mkdir(path, mode);
#endif
END_SAVE
if (res < 0)
return mac_error();