summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 21:00:43 +0000
committerDenis Vlasenko2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /util-linux/swaponoff.c
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
bb_applet_name -> applet_name
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 4fcb239..8434d12 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -24,7 +24,7 @@ static int swap_enable_disable(char *device)
if (st.st_blocks * 512 < st.st_size)
bb_error_msg_and_die("swap file has holes");
- if (bb_applet_name[5] == 'n')
+ if (applet_name[5] == 'n')
status = swapon(device, 0);
else
status = swapoff(device);