Take out special error message for EINVAL...we really do want it to be

"invalid argument".
This commit is contained in:
dg 1995-05-14 02:18:18 +00:00
parent 5600e63b47
commit da8c2824bd

View File

@ -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,