Merge pull request #42 from shinyquagsire23/imretarted

Fix fs_dev.c so that it actually compiles
This commit is contained in:
James 2016-09-14 13:29:46 +01:00 committed by GitHub
commit e683b6c616

View File

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