summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:25:33 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:25:33 +0000
commita5487ff98095c52f3817b47eaf2439e0efc1014f (patch)
treea85046fa7ed9a1e9a5e16ccc5f6e9a78d23f4a46 /libnetfs
parent689b7d37999ed684ef99a7c7a668f2bf8df7bd17 (diff)
(parse_startup_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/startup-argp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libnetfs/startup-argp.c b/libnetfs/startup-argp.c
index 892446d0..d922f698 100644
--- a/libnetfs/startup-argp.c
+++ b/libnetfs/startup-argp.c
@@ -37,9 +37,8 @@ parse_startup_opt (int opt, char *arg, struct argp_state *state)
switch (opt)
{
default:
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
}
-
return 0;
}