projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5711a2a
)
ash: use a more typical form of "print four octal digits" format
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 7 Oct 2015 15:57:53 +0000
(17:57 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 7 Oct 2015 15:57:53 +0000
(17:57 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index ab8ec006f5fa5cbfb5ca6f3d4e8e463bfca61235..b835415b59bf43cc832177d8b539c92d7db1d91d 100644
(file)
--- 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("%
0
4o\n", mask);
}
} else {
char *modestr = *argptr;