aboutsummaryrefslogtreecommitdiff
path: root/util-linux/freeramdisk.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /util-linux/freeramdisk.c
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.bz2
bb_applet_name -> applet_name
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r--util-linux/freeramdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index 5d110bc4b..2293d3ee6 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -24,7 +24,7 @@ int freeramdisk_main(int argc, char **argv)
fd = xopen(argv[1], O_RDWR);
// Act like freeramdisk, fdflush, or both depending on configuration.
- result = ioctl(fd, (ENABLE_FREERAMDISK && bb_applet_name[1]=='r')
+ result = ioctl(fd, (ENABLE_FREERAMDISK && applet_name[1]=='r')
|| !ENABLE_FDFLUSH ? BLKFLSBUF : FDFLUSH);
if (ENABLE_FEATURE_CLEAN_UP) close(fd);