mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Take out special error message for EINVAL...we really do want it to be
"invalid argument".
This commit is contained in:
parent
563120df88
commit
43e6fcd576
1 changed files with 0 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue