summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/swaponoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 3a6afe2..8930035 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -18,11 +18,11 @@ static int swap_enable_disable(char *device)
xstat(device, &st);
-#ifdef BLOAT
+#if ENABLE_DESKTOP
/* test for holes */
if (S_ISREG(st.st_mode))
if (st.st_blocks * 512 < st.st_size)
- bb_error_msg_and_die("swap file has holes");
+ bb_error_msg("warning: swap file has holes");
#endif
if (applet_name[5] == 'n')