summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:10:29 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:10:29 +0000
commitc21bdf5d81b03c051b16af4a41308a58745a7afb (patch)
tree4f0f704dac8b98e212075ae5ea15798a10505131
parent130e93ea54afd89c60e7762798e51455c730d4dd (diff)
(parse_common_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
-rw-r--r--nfs/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfs/main.c b/nfs/main.c
index b841d3af..07bf08fa 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -146,7 +146,7 @@ parse_common_opt (int key, char *arg, struct argp_state *state)
case OPT_MAX_TR_TO: max_transmit_timeout = atoi (arg); break;
default:
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}