commit | ec046f74a31e4315f4546ec5602f56e7d467082d | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Oct 07 17:57:53 2015 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Oct 07 17:57:53 2015 +0200 |
tree | cbde46748dccfe3a63f3f0b4f175b95905bf5d5a | |
parent | 5711a2a4ad51ad203a2ed4ffc72593e83920b36a [diff] |
ash: use a more typical form of "print four octal digits" format Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/ash.c b/shell/ash.c index ab8ec00..b835415 100644 --- a/shell/ash.c +++ b/shell/ash.c
@@ -12854,7 +12854,7 @@ *p = '\0'; puts(buf); } else { - out1fmt("%.4o\n", mask); + out1fmt("%04o\n", mask); } } else { char *modestr = *argptr;