summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/amdzen/udf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/amdzen/udf.c b/usr/src/cmd/amdzen/udf.c
index 604e0b4802..8c21b02b74 100644
--- a/usr/src/cmd/amdzen/udf.c
+++ b/usr/src/cmd/amdzen/udf.c
@@ -10,7 +10,7 @@
*/
/*
- * Copyright 2020 Oxide Computer Company
+ * Copyright 2021 Oxide Computer Company
*/
/*
@@ -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;