From: Denys Vlasenko Date: Wed, 7 Oct 2015 15:57:53 +0000 (+0200) Subject: ash: use a more typical form of "print four octal digits" format X-Git-Tag: 1_24_0~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ec046f74a31e4315f4546ec5602f56e7d467082d;p=oweals%2Fbusybox.git ash: use a more typical form of "print four octal digits" format Signed-off-by: Denys Vlasenko --- 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;