aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zdb/zdb.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-03 19:04:13 +0200
committerGitHub <[email protected]>2021-06-03 11:04:13 -0600
commit94f942c658521c9f67955958942014d41a4a7146 (patch)
tree43f51f6b0e24a51cecce402931cd91503f3bd52b /cmd/zdb/zdb.c
parentf97142c74801a15c4e3840722502d279d1913fb5 (diff)
libspl: staticify buf and pagesize, rename aok to libspl_assert_ok
Exporting names this short can easily cause nasty collisions with user code. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: John Kennedy <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12050
Diffstat (limited to 'cmd/zdb/zdb.c')
-rw-r--r--cmd/zdb/zdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c
index 4e98bbf58..b44f80f72 100644
--- a/cmd/zdb/zdb.c
+++ b/cmd/zdb/zdb.c
@@ -8496,7 +8496,7 @@ main(int argc, char **argv)
dump_opt[c] += verbose;
}
- aok = (dump_opt['A'] == 1) || (dump_opt['A'] > 2);
+ libspl_assert_ok = (dump_opt['A'] == 1) || (dump_opt['A'] > 2);
zfs_recover = (dump_opt['A'] > 1);
argc -= optind;