From 43e6fcd576e3594bd98ae160e49e45a53ebc4bec Mon Sep 17 00:00:00 2001 From: David Greenman Date: Sun, 14 May 1995 02:18:18 +0000 Subject: [PATCH] Take out special error message for EINVAL...we really do want it to be "invalid argument". --- sbin/swapon/swapon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c index 4c3c3e51186f..042a853068a2 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,