diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-03 21:00:43 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-03 21:00:43 +0000 |
commit | d8cf793135eac928e653eb5178894a611aa27837 (patch) | |
tree | 8c555cc94aca9fabd177526e554d93bed4886642 /util-linux/swaponoff.c | |
parent | 63adc7384791548741e3a2afbee1be40d99fe9d2 (diff) | |
download | busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.gz busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.bz2 busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.zip |
bb_applet_name -> applet_name
git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-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); |