Skip to content

Commit

Permalink
14030 udf poorly handles its usage
Browse files Browse the repository at this point in the history
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
rmustacc committed Aug 24, 2021
1 parent a2027c5 commit 6881023
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/src/cmd/amdzen/udf.c
Expand Up @@ -10,7 +10,7 @@
*/

/*
* Copyright 2020 Oxide Computer Company
* Copyright 2021 Oxide Computer Company
*/

/*
Expand Down Expand Up @@ -87,6 +87,7 @@ main(int argc, char *argv[])
warnx("missing required arguments");
(void) fprintf(stderr, "Usage: udf [-l] -d device -f func -i "
"inst -r reg\n");
exit(2);
}

errno = 0;
Expand Down

0 comments on commit 6881023

Please sign in to comment.