diff options
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 94565f855..3f223343e 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c | |||
@@ -60,7 +60,7 @@ static int swap_enable_disable(char *device) | |||
60 | #if ENABLE_DESKTOP | 60 | #if ENABLE_DESKTOP |
61 | /* test for holes */ | 61 | /* test for holes */ |
62 | if (S_ISREG(st.st_mode)) | 62 | if (S_ISREG(st.st_mode)) |
63 | if ((st.st_blocks) * (off_t)512 < st.st_size) | 63 | if (st.st_blocks * (off_t)512 < st.st_size) |
64 | bb_error_msg("warning: swap file has holes"); | 64 | bb_error_msg("warning: swap file has holes"); |
65 | #endif | 65 | #endif |
66 | 66 | ||