From 0b2a259dbebf36a7c19b816dd517aabb2b98b342 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Sat, 10 Sep 2016 00:08:22 -0600 Subject: [PATCH] Fix fs_dev.c so that it actually compiles --- crt/fs_dev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crt/fs_dev.c b/crt/fs_dev.c index 9f5bdee..cb7ab62 100644 --- a/crt/fs_dev.c +++ b/crt/fs_dev.c @@ -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) {