diff options
author | наб <[email protected]> | 2021-06-05 14:18:37 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-07-26 12:07:26 -0700 |
commit | 90f1c3c9467881ed76fd3a41719bf297e6de708b (patch) | |
tree | 229f6488ed6901179502197735228e2a414bcc6a /cmd/zgenhostid | |
parent | 5dbf6c5a66d3de65f1b0436c8e83097dd49ff059 (diff) |
Prune /*NOTREACHED*/
This includes a simplification of mkbusy and format correctness in zhack
and ztest
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Issue #12201
Diffstat (limited to 'cmd/zgenhostid')
-rw-r--r-- | cmd/zgenhostid/zgenhostid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/zgenhostid/zgenhostid.c b/cmd/zgenhostid/zgenhostid.c index 4a4ca80e0..853931c6a 100644 --- a/cmd/zgenhostid/zgenhostid.c +++ b/cmd/zgenhostid/zgenhostid.c @@ -36,7 +36,7 @@ #include <time.h> #include <unistd.h> -static void +static __attribute__((noreturn)) void usage(void) { (void) fprintf(stderr, @@ -51,7 +51,6 @@ usage(void) " will be generated.\n" "The value must be unique among your systems.\n"); exit(EXIT_FAILURE); - /* NOTREACHED */ } int |