aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2017-08-04 17:36:16 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2017-08-04 17:36:16 +0200
commit74c05f5b2cfde7a561e55437eb499f96864179a3 (patch)
treed2f84f2fcf5ab032a58bc37c6a0b6f0d6f273c9b /util-linux
parentdd5a40246b91bd5d3d165998e6ac3cc4f7083f63 (diff)
downloadbusybox-74c05f5b2cfde7a561e55437eb499f96864179a3.tar.gz
busybox-74c05f5b2cfde7a561e55437eb499f96864179a3.tar.bz2
chat: trim help text
Noticed while auditing nofork/noexec status function old new delta packed_usage 31777 31747 -30 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/freeramdisk.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index 55187cb40..a73578404 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -67,8 +67,12 @@ int freeramdisk_main(int argc UNUSED_PARAM, char **argv)
fd = xopen(single_argv(argv), O_RDWR);
// Act like freeramdisk, fdflush, or both depending on configuration.
- ioctl_or_perror_and_die(fd, (ENABLE_FREERAMDISK && applet_name[1] == 'r')
- || !ENABLE_FDFLUSH ? BLKFLSBUF : FDFLUSH, NULL, "%s", argv[1]);
+ ioctl_or_perror_and_die(fd,
+ ((ENABLE_FREERAMDISK && applet_name[1] == 'r') || !ENABLE_FDFLUSH)
+ ? BLKFLSBUF
+ : FDFLUSH,
+ NULL, "%s", argv[1]
+ );
if (ENABLE_FEATURE_CLEAN_UP) close(fd);