summaryrefslogtreecommitdiff
path: root/utils/devprobe.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:05:12 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:05:12 +0000
commit830cc2ea7613de4c0693c596b38b140cc02f0c64 (patch)
treed2fad70f3b25573dbeba7ba96e2e09275295e7a2 /utils/devprobe.c
parent73b474d7a53dd1608cf9f34bf899c36e0f42ea9e (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'utils/devprobe.c')
-rw-r--r--utils/devprobe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/devprobe.c b/utils/devprobe.c
index 558ed717..e29e1e32 100644
--- a/utils/devprobe.c
+++ b/utils/devprobe.c
@@ -87,7 +87,8 @@ main (int argc, char **argv)
error (0, err, "%s", arg);
break;
- default: return EINVAL;
+ default:
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}