diff options
author | Jorgen Lundman <[email protected]> | 2022-02-16 01:58:59 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2022-02-15 08:58:59 -0800 |
commit | 9a70e97fe14addacdc4139fd0ae4bce1c3344456 (patch) | |
tree | 25eab04b16e2018fa68e09951f405c5484b1a669 /lib/libzfs/libzfs_pool.c | |
parent | ae07fc1393062507b62d9d475e57393be590e432 (diff) |
Rename fallthrough to zfs_fallthrough
Unfortunately macOS has obj-C keyword "fallthrough" in the OS headers.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Damian Szuberski <[email protected]>
Signed-off-by: Jorgen Lundman <[email protected]>
Closes #13097
Diffstat (limited to 'lib/libzfs/libzfs_pool.c')
-rw-r--r-- | lib/libzfs/libzfs_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index 88c7ee74b..7fafeae9e 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -316,7 +316,7 @@ zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, len); break; } - fallthrough; + zfs_fallthrough; default: (void) strlcpy(buf, "-", len); break; @@ -407,7 +407,7 @@ zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, (void) snprintf(buf, len, "-"); break; } - fallthrough; + zfs_fallthrough; default: (void) snprintf(buf, len, "%llu", (u_longlong_t)intval); } |