diff options
author | Miles Bader <miles@gnu.org> | 1996-05-11 05:05:12 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-11 05:05:12 +0000 |
commit | 830cc2ea7613de4c0693c596b38b140cc02f0c64 (patch) | |
tree | d2fad70f3b25573dbeba7ba96e2e09275295e7a2 /utils/vmstat.c | |
parent | 73b474d7a53dd1608cf9f34bf899c36e0f42ea9e (diff) | |
download | hurd-830cc2ea7613de4c0693c596b38b140cc02f0c64.tar.gz hurd-830cc2ea7613de4c0693c596b38b140cc02f0c64.tar.bz2 hurd-830cc2ea7613de4c0693c596b38b140cc02f0c64.zip |
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'utils/vmstat.c')
-rw-r--r-- | utils/vmstat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/vmstat.c b/utils/vmstat.c index 11fc5703..8e43554a 100644 --- a/utils/vmstat.c +++ b/utils/vmstat.c @@ -129,11 +129,12 @@ main (int argc, char **argv) case 2: hdr_interval = atoi (arg); break; default: - return EINVAL; + return ARGP_ERR_UNKNOWN; } break; - default: return EINVAL; + default: + return ARGP_ERR_UNKNOWN; } return 0; } |