From 66753a38509423fd81d85c61fd0401370353386d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 18 Mar 2006 15:59:29 +0000 Subject: - whitespace cleanup (and also check against the const first and only then look at bb_applet_name[1]) --- util-linux/freeramdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util-linux/freeramdisk.c') diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index 8a3f2fddf..923a15160 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -28,8 +28,8 @@ int freeramdisk_main(int argc, char **argv) fd = bb_xopen(argv[1], O_RDWR); // Act like freeramdisk, fdflush, or both depending on configuration. - result = ioctl(fd, (bb_applet_name[1]=='r' && ENABLE_FREERAMDISK) - || !ENABLE_FDFLUSH ? _IO(0x12,97) : _IO(2,0x4b)); + result = ioctl(fd, (ENABLE_FREERAMDISK && bb_applet_name[1]=='r') + || !ENABLE_FDFLUSH ? _IO(0x12,97) : _IO(2,0x4b)); if (ENABLE_FEATURE_CLEAN_UP) close(fd); -- cgit v1.2.3