diff options
author | Brian Behlendorf <[email protected]> | 2009-03-11 20:53:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-11 20:53:11 -0700 |
commit | 9915249546c3972325e9a849cefd9983d3a5ce18 (patch) | |
tree | a0178f509a75fb3667361d68d3aab17d775c8fa2 /module | |
parent | e5011401cd4ef761bc6557c44dd11c77f2010581 (diff) | |
parent | d4dbc7dca843c140a058ec8e873d6c43f5d0d12a (diff) |
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/dsl_dataset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index a11f226a0..e507fd59f 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -2613,10 +2613,11 @@ dsl_dataset_promote(const char *name) dsl_dir_t *dd; dsl_pool_t *dp; dmu_object_info_t doi; - struct promotearg pa = { 0 }; + struct promotearg pa; struct promotenode *snap; int err; + bzero(&pa, sizeof(struct promotearg)); err = dsl_dataset_hold(name, FTAG, &ds); if (err) return (err); |