diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 21:00:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 21:00:43 +0000 |
commit | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch) | |
tree | 8c555cc94aca9fabd177526e554d93bed4886642 /util-linux/swaponoff.c | |
parent | 67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff) | |
download | busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.bz2 busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip |
bb_applet_name -> applet_name
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r-- | util-linux/swaponoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 4fcb239b6..8434d121c 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c | |||
@@ -24,7 +24,7 @@ static int swap_enable_disable(char *device) | |||
24 | if (st.st_blocks * 512 < st.st_size) | 24 | if (st.st_blocks * 512 < st.st_size) |
25 | bb_error_msg_and_die("swap file has holes"); | 25 | bb_error_msg_and_die("swap file has holes"); |
26 | 26 | ||
27 | if (bb_applet_name[5] == 'n') | 27 | if (applet_name[5] == 'n') |
28 | status = swapon(device, 0); | 28 | status = swapon(device, 0); |
29 | else | 29 | else |
30 | status = swapoff(device); | 30 | status = swapoff(device); |