diff options
author | dg <dg@FreeBSD.org> | 1995-05-14 02:18:18 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-14 02:18:18 +0000 |
commit | 9dfe5706e1872bbd87ac4f19cfd605a77187311f (patch) | |
tree | e998c7d5764e9fbfabf2107ef1a0034675547493 /sbin/swapon/swapon.c | |
parent | e8007e4e0947cf579dc772b46407cafe58b0e3c9 (diff) | |
download | FreeBSD-src-9dfe5706e1872bbd87ac4f19cfd605a77187311f.zip FreeBSD-src-9dfe5706e1872bbd87ac4f19cfd605a77187311f.tar.gz |
Take out special error message for EINVAL...we really do want it to be
"invalid argument".
Diffstat (limited to 'sbin/swapon/swapon.c')
-rw-r--r-- | sbin/swapon/swapon.c | 4 |
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, |