diff options
author | Karel Zak | 2006-12-07 00:26:19 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:26:19 +0100 |
commit | d26aa358f42df65da50014ad62b1a78f22c97400 (patch) | |
tree | bf961bf31e4f704fc997acde938d292c4abdc588 /mount/swapon.c | |
parent | Imported from util-linux-2.12d tarball. (diff) | |
download | kernel-qcow2-util-linux-d26aa358f42df65da50014ad62b1a78f22c97400.tar.gz kernel-qcow2-util-linux-d26aa358f42df65da50014ad62b1a78f22c97400.tar.xz kernel-qcow2-util-linux-d26aa358f42df65da50014ad62b1a78f22c97400.zip |
Imported from util-linux-2.12h tarball.
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 e3dfffac5..71b251508 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)); |