fix compile failure in previous commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-02-06 18:01:39 +01:00
parent 5cdd120f0c
commit 1267770a9d

View File

@ -121,7 +121,7 @@ int FAST_FUNC bb_make_directory(char *path, long mode, int flags)
* an error. */ * an error. */
if (mode != -1) { if (mode != -1) {
//bb_error_msg("chmod 0%03lo mkdir '%s'", mode, path); //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"; fail_msg = "set permissions of";
if (flags & FILEUTILS_IGNORE_CHMOD_ERR) { if (flags & FILEUTILS_IGNORE_CHMOD_ERR) {
flags = 0; flags = 0;