mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 14:58:14 +01:00
Fix fs_dev.c so that it actually compiles
This commit is contained in:
parent
1f30d4b785
commit
0b2a259dbe
@ -931,6 +931,7 @@ fs_chmod(struct _reent *r,
|
||||
const char *path,
|
||||
mode_t mode)
|
||||
{
|
||||
FSStatus rc;
|
||||
char *path_fix = fs_fixpath(r, path);
|
||||
|
||||
if (!path_fix) {
|
||||
@ -938,7 +939,7 @@ fs_chmod(struct _reent *r,
|
||||
return -1;
|
||||
}
|
||||
|
||||
rc = FSChangeMode(fsClient, fsCmd, path_fix, (FSMode)mode, -1)
|
||||
rc = FSChangeMode(fsClient, fsCmd, path_fix, (FSMode)mode, -1);
|
||||
free(path_fix);
|
||||
|
||||
if (rc >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user