summaryrefslogtreecommitdiff
path: root/ufs-fsck/main.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:08:22 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:08:22 +0000
commit0f8fcdffb258c192cf28621f9ad6130371178f13 (patch)
treedbaf4f94d0cf9ed1a65fbae49496bdd47082cf05 /ufs-fsck/main.c
parentf96cc8acf2d59161429b15b2a00200d4bc20cbc0 (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'ufs-fsck/main.c')
-rw-r--r--ufs-fsck/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs-fsck/main.c b/ufs-fsck/main.c
index f9a7bd7e..50a8142d 100644
--- a/ufs-fsck/main.c
+++ b/ufs-fsck/main.c
@@ -108,7 +108,8 @@ main (int argc, char **argv)
/* Fall through */
case ARGP_KEY_NO_ARGS:
argp_usage (state);
- default: return EINVAL;
+ default:
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}