diff options
author | Rob Landley <rob@landley.net> | 2005-09-08 03:11:58 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-09-08 03:11:58 +0000 |
commit | 658d2cf98616e377fdcf8cde380fec10d966a689 (patch) | |
tree | ded519582e91404e7439409ee62e6abe302f238c /util-linux/freeramdisk.c | |
parent | 02eb934b0f7120cfb783536d6b27f7e092fb991b (diff) | |
download | busybox-w32-658d2cf98616e377fdcf8cde380fec10d966a689.tar.gz busybox-w32-658d2cf98616e377fdcf8cde380fec10d966a689.tar.bz2 busybox-w32-658d2cf98616e377fdcf8cde380fec10d966a689.zip |
Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP to
ENABLE_FEATURE_CLEAN_UP.
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r-- | util-linux/freeramdisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index e5061dc34..cfea35bea 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c | |||
@@ -47,9 +47,9 @@ freeramdisk_main(int argc, char **argv) | |||
47 | fd = bb_xopen(argv[1], O_RDWR); | 47 | fd = bb_xopen(argv[1], O_RDWR); |
48 | 48 | ||
49 | result = ioctl(fd, BLKFLSBUF); | 49 | result = ioctl(fd, BLKFLSBUF); |
50 | #ifdef CONFIG_FEATURE_CLEAN_UP | 50 | |
51 | close(fd); | 51 | if (ENABLE_FEATURE_CLEAN_UP) close(fd); |
52 | #endif | 52 | |
53 | if (result < 0) { | 53 | if (result < 0) { |
54 | bb_perror_msg_and_die("failed ioctl on %s", argv[1]); | 54 | bb_perror_msg_and_die("failed ioctl on %s", argv[1]); |
55 | } | 55 | } |