diff options
author | Miles Bader <miles@gnu.org> | 1996-05-11 05:23:35 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-11 05:23:35 +0000 |
commit | 10ce2214bf77c857c6c35617a9efefbbcb79b514 (patch) | |
tree | aebe8e452ab55682b4b5ec2ea933ddf092ad1233 /ufs-utils | |
parent | 0f8fcdffb258c192cf28621f9ad6130371178f13 (diff) |
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'ufs-utils')
-rw-r--r-- | ufs-utils/mkfs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c index e585b598..2fb1248c 100644 --- a/ufs-utils/mkfs.c +++ b/ufs-utils/mkfs.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/ -static char *rcsid = "$Id: mkfs.c,v 1.10 1996/04/03 21:34:56 miles Exp $"; +static char *rcsid = "$Id: mkfs.c,v 1.11 1996/05/11 05:21:06 miles Exp $"; #endif /* not lint */ #include <unistd.h> @@ -309,11 +309,12 @@ main (int argc, char **argv) case ARGP_KEY_ARG: if (state->arg_num > 0) - return EINVAL; + return ARGP_ERR_UNKNOWN; device = arg; + break; default: - return EINVAL; + return ARGP_ERR_UNKNOWN; } return 0; } |