Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Whoops. Forgot to declare a variable.
  • Loading branch information
icculus committed Aug 23, 2001
1 parent f0c0989 commit 3deb942
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/unix.c
Expand Up @@ -461,6 +461,7 @@ char *__PHYSFS_platformRealPath(const char *path)

int __PHYSFS_platformMkDir(const char *path)
{
int rc;
errno = 0;
rc = mkdir(path, S_IRWXU);
BAIL_IF_MACRO(rc == -1, strerror(errno), 0);
Expand Down

0 comments on commit 3deb942

Please sign in to comment.