aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-28 00:58:14 +0000
committerErik Andersen <andersen@codepoet.org>2000-03-28 00:58:14 +0000
commit3364d78b18386623e7af5da18ba1bb0cc6286279 (patch)
tree36b57afb6f3eefcdc8fdaf40e51fa6956264db50 /util-linux
parent6acaa40f27de0da935c3063b6be2ead9eeee5d0b (diff)
downloadbusybox-w32-3364d78b18386623e7af5da18ba1bb0cc6286279.tar.gz
busybox-w32-3364d78b18386623e7af5da18ba1bb0cc6286279.tar.bz2
busybox-w32-3364d78b18386623e7af5da18ba1bb0cc6286279.zip
Yet another installment in the ongoing tar saga
-Erik
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/swaponoff.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index bc096ea95..dca401966 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -108,7 +108,12 @@ extern int swap_on_off_main(int argc, char **argv)
108 while (*++(*argv)) 108 while (*++(*argv))
109 switch (**argv) { 109 switch (**argv) {
110 case 'a': 110 case 'a':
111 whine_if_fstab_is_missing(); 111 {
112 struct stat statBuf;
113
114 if (stat("/etc/fstab", &statBuf) < 0)
115 fatalError("/etc/fstab file missing\n");
116 }
112 do_em_all(); 117 do_em_all();
113 break; 118 break;
114 default: 119 default: