diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-07 17:57:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-07 17:57:53 +0200 |
commit | ec046f74a31e4315f4546ec5602f56e7d467082d (patch) | |
tree | cbde46748dccfe3a63f3f0b4f175b95905bf5d5a /shell | |
parent | 5711a2a4ad51ad203a2ed4ffc72593e83920b36a (diff) | |
download | busybox-ec046f74a31e4315f4546ec5602f56e7d467082d.tar.gz |
ash: use a more typical form of "print four octal digits" format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index ab8ec006f..b835415b5 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -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; |