diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-04 17:36:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-04 17:36:16 +0200 |
commit | 74c05f5b2cfde7a561e55437eb499f96864179a3 (patch) | |
tree | d2f84f2fcf5ab032a58bc37c6a0b6f0d6f273c9b /util-linux | |
parent | dd5a40246b91bd5d3d165998e6ac3cc4f7083f63 (diff) | |
download | busybox-74c05f5b2cfde7a561e55437eb499f96864179a3.tar.gz |
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.c | 8 |
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); |