summaryrefslogtreecommitdiffstats
path: root/cmd/ztest
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-11 20:52:21 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 20:52:21 -0700
commitd4dbc7dca843c140a058ec8e873d6c43f5d0d12a (patch)
tree7e9134aa47de3051a165c579502bc599f0368d3b /cmd/ztest
parentd164b2093561a9771db07346e6fffc9ca19427a2 (diff)
Resolve all instances of missing braces.
Diffstat (limited to 'cmd/ztest')
-rw-r--r--cmd/ztest/ztest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c
index 4503a3d02..f5cf6311f 100644
--- a/cmd/ztest/ztest.c
+++ b/cmd/ztest/ztest.c
@@ -1931,11 +1931,12 @@ ztest_dmu_write_parallel(ztest_args_t *za)
mutex_t *lp;
char osname[MAXNAMELEN];
char iobuf[SPA_MAXBLOCKSIZE];
- blkptr_t blk = { 0 };
+ blkptr_t blk;
uint64_t blkoff;
zbookmark_t zb;
dmu_tx_t *tx = dmu_tx_create(os);
+ bzero(&blk, sizeof(blkptr_t));
dmu_objset_name(os, osname);
/*