bb_applet_name -> applet_name

This commit is contained in:
Denis Vlasenko
2006-10-03 21:00:43 +00:00
parent 67b23e6043
commit 8f8f268cfd
45 changed files with 71 additions and 69 deletions

View File

@ -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);