From 830cc2ea7613de4c0693c596b38b140cc02f0c64 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 11 May 1996 05:05:12 +0000 Subject: (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. --- utils/vmstat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/vmstat.c') 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; } -- cgit v1.2.3