aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zfs
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-05 14:18:37 +0200
committerBrian Behlendorf <[email protected]>2021-07-26 12:07:26 -0700
commit90f1c3c9467881ed76fd3a41719bf297e6de708b (patch)
tree229f6488ed6901179502197735228e2a414bcc6a /cmd/zfs
parent5dbf6c5a66d3de65f1b0436c8e83097dd49ff059 (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/zfs')
-rw-r--r--cmd/zfs/zfs_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index a8d68cd03..433850f42 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -414,10 +414,9 @@ get_usage(zfs_help_t idx)
return (gettext("\tunjail <jailid|jailname> <filesystem>\n"));
case HELP_WAIT:
return (gettext("\twait [-t <activity>] <filesystem>\n"));
+ default:
+ __builtin_unreachable();
}
-
- abort();
- /* NOTREACHED */
}
void