Whoops. Forgot to declare a variable.

This commit is contained in:
Ryan C. Gordon 2001-08-23 15:39:07 +00:00
parent f0c09894c8
commit 3deb942440
1 changed files with 1 additions and 0 deletions

View File

@ -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);