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:
c6ce1c9
)
ipcs: tweak output orer to match util-linux 2.28
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 9 Aug 2017 17:27:01 +0000
(19:27 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 9 Aug 2017 17:27:01 +0000
(19:27 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/ipcs.c
patch
|
blob
|
history
diff --git
a/util-linux/ipcs.c
b/util-linux/ipcs.c
index f0d405d679e1c2b5ee0a0f282206326ddc7a667d..7092ecd92edeb7a35ae2f345bbc2a26c7d1ff70f 100644
(file)
--- a/
util-linux/ipcs.c
+++ b/
util-linux/ipcs.c
@@
-632,6
+632,10
@@
int ipcs_main(int argc UNUSED_PARAM, char **argv)
flags |= flag_msg | flag_shm | flag_sem;
bb_putchar('\n');
+ if (flags & flag_msg) {
+ do_msg();
+ bb_putchar('\n');
+ }
if (flags & flag_shm) {
do_shm();
bb_putchar('\n');
@@
-640,9
+644,5
@@
int ipcs_main(int argc UNUSED_PARAM, char **argv)
do_sem();
bb_putchar('\n');
}
- if (flags & flag_msg) {
- do_msg();
- bb_putchar('\n');
- }
fflush_stdout_and_exit(EXIT_SUCCESS);
}