summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-23 00:28:15 +0000
committerMiles Bader <miles@gnu.org>1996-05-23 00:28:15 +0000
commit88fef0751bd4d6895092cb790eb80e12f2d3c892 (patch)
tree3b89f16f103958e8034eba5036282107d9b3ad31 /nfs
parentd99365c0c6614a2604c2bfe4cf14137dc31d6347 (diff)
(parse_startup_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'nfs')
-rw-r--r--nfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/main.c b/nfs/main.c
index 07bf08fa..e9361292 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -303,7 +303,7 @@ parse_startup_opt (int key, char *arg, struct argp_state *state)
else if (state->arg_num == 1)
host = arg;
else
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
break;
case ARGP_KEY_END:
@@ -315,7 +315,7 @@ parse_startup_opt (int key, char *arg, struct argp_state *state)
argp_error (state, "No REMOTE_FS specified");
default:
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}