← Commit list

ec046f74a

Denys Vlasenko
Denys Vlasenko
2015-10-07
SUCCESS Duration: 203s

Subject

ash: use a more typical form of "print four octal digits" format

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -1
@@ -12854,7 +12854,7 @@ umaskcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
*p = '\0';
puts(buf);
} else {
- out1fmt("%.4o\n", mask);
+ out1fmt("%04o\n", mask);
}
} else {
char *modestr = *argptr;