fix compile failure in previous commit
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Feb 2018 17:01:39 +0000 (18:01 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Feb 2018 17:01:39 +0000 (18:01 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/make_directory.c

index 64736efbed194928aee46f97fd6d99ebd4d61ee1..9b03bb8d0f461945c37fd378725ca0e4ed39612c 100644 (file)
@@ -121,7 +121,7 @@ int FAST_FUNC bb_make_directory(char *path, long mode, int flags)
                         * an error. */
                        if (mode != -1) {
                                //bb_error_msg("chmod 0%03lo mkdir '%s'", mode, path);
-                               if (chmod(path, mode) < 0)) {
+                               if (chmod(path, mode) < 0) {
                                        fail_msg = "set permissions of";
                                        if (flags & FILEUTILS_IGNORE_CHMOD_ERR) {
                                                flags = 0;