diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2021-12-20 21:25:19 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2022-01-18 21:15:26 +0000 |
| commit | 1cab5dac1c2d542f5f6d6719b6efd635264b2e34 (patch) | |
| tree | 61509f79d13857e7992aea4d4161677773eccc4c | |
| parent | bb0b7f405138c1bf208a619847aba4132ae37a19 (diff) | |
usbconfig: actually set the exit code in usage()
Oversight in previous commit: usage() had been turned to accept
an "exitcode" parameter, but it hasn't been used.
(cherry picked from commit 1654b51455cd1c890b08685551abafec88111606)
| -rw-r--r-- | usr.sbin/usbconfig/usbconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/usbconfig/usbconfig.c b/usr.sbin/usbconfig/usbconfig.c index 49acbf68b33c..81112d957bbb 100644 --- a/usr.sbin/usbconfig/usbconfig.c +++ b/usr.sbin/usbconfig/usbconfig.c @@ -303,7 +303,7 @@ usage(int exitcode) " list" "\n" " do_request <bmReqTyp> <bReq> <wVal> <wIdx> <wLen> <data...>" "\n" ); - exit(1); + exit(exitcode); } static void |
