summaryrefslogtreecommitdiffstats
path: root/sbin/swapon
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/swapon')
-rw-r--r--sbin/swapon/swapon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index 4c3c3e5..042a853 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -96,10 +96,6 @@ add(char *name, int ignoreebusy)
if (swapon(name) == -1) {
switch (errno) {
- case EINVAL:
- fprintf(stderr, "swapon: %s: device not configured\n",
- name);
- break;
case EBUSY:
if (!ignoreebusy)
fprintf(stderr,
OpenPOWER on IntegriCloud