summaryrefslogtreecommitdiff
path: root/ufs-fsck
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
commit130e93ea54afd89c60e7762798e51455c730d4dd (patch)
tree2e2295b26a37e3c9d0e618f78711d17a71911a9f /ufs-fsck
parent830cc2ea7613de4c0693c596b38b140cc02f0c64 (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'ufs-fsck')
-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;
}