ash: use a more typical form of "print four octal digits" format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
5711a2a4ad
commit
ec046f74a3
@ -12854,7 +12854,7 @@ umaskcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
|||||||
*p = '\0';
|
*p = '\0';
|
||||||
puts(buf);
|
puts(buf);
|
||||||
} else {
|
} else {
|
||||||
out1fmt("%.4o\n", mask);
|
out1fmt("%04o\n", mask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
char *modestr = *argptr;
|
char *modestr = *argptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user