diff options
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index e3dfffac..71b25150 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -249,7 +249,7 @@ do_swapoff(const char *special, int quiet) { exit(1); /* any further swapoffs will also fail */ } - if (!quiet) { + if (!quiet || errno == ENOMEM) { int errsv = errno; fprintf(stderr, "%s: %s: %s\n", program_name, special, strerror(errsv)); |