aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 0ae0c36ee..e40d169dd 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -96,7 +96,7 @@ extern int swap_on_off_main(int argc, char **argv)
96 struct stat statBuf; 96 struct stat statBuf;
97 97
98 if (stat("/etc/fstab", &statBuf) < 0) 98 if (stat("/etc/fstab", &statBuf) < 0)
99 fatalError("/etc/fstab file missing\n"); 99 error_msg_and_die("/etc/fstab file missing\n");
100 } 100 }
101 do_em_all(); 101 do_em_all();
102 break; 102 break;