mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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';
|
||||
puts(buf);
|
||||
} else {
|
||||
out1fmt("%.4o\n", mask);
|
||||
out1fmt("%04o\n", mask);
|
||||
}
|
||||
} else {
|
||||
char *modestr = *argptr;
|
||||
|
Loading…
Reference in New Issue
Block a user