From 97dde9211d95bbd219b3fac38ff60615e80c0ac1 Mon Sep 17 00:00:00 2001 From: George Melikov Date: Wed, 8 Feb 2017 21:06:02 +0300 Subject: Fix coverity defects: CID 155964, 155965 CID 155964: Missing break in switch CID 155965: Missing break in switch Reviewed-by: Brian Behlendorf Signed-off-by: George Melikov Closes #5759 --- lib/libzfs/libzfs_pool.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index b05c1564e..9abea9023 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -679,6 +679,7 @@ zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, (void) zfs_error(hdl, EZFS_BADPROP, errbuf); goto error; } + break; default: zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, @@ -999,9 +1000,11 @@ zpool_name_valid(libzfs_handle_t *hdl, boolean_t isopen, const char *pool) "multiple '@' and/or '#' delimiters in " "name")); break; + case NAME_ERR_NO_AT: zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "permission set is missing '@'")); + break; default: zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, -- cgit v1.2.3