summaryrefslogtreecommitdiffstats
path: root/libdm/datastruct
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-04-19 21:10:20 +0000
committerAlasdair Kergon <agk@redhat.com>2010-04-19 21:10:20 +0000
commit175b8684a0a93de3bf156ae4586be4c6050367d8 (patch)
treef7c35e04142640f5f942a16cef729b378e7770f3 /libdm/datastruct
parentda336123c2e81e99696cf3284fcb597efebccb9f (diff)
downloadlvm2-175b8684a0a93de3bf156ae4586be4c6050367d8.tar.gz
lvm2-175b8684a0a93de3bf156ae4586be4c6050367d8.tar.xz
lvm2-175b8684a0a93de3bf156ae4586be4c6050367d8.zip
fix last commit
Diffstat (limited to 'libdm/datastruct')
-rw-r--r--libdm/datastruct/bitset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/datastruct/bitset.c b/libdm/datastruct/bitset.c
index e8bec2ab..bb16adda 100644
--- a/libdm/datastruct/bitset.c
+++ b/libdm/datastruct/bitset.c
@@ -27,7 +27,7 @@ dm_bitset_t dm_bitset_create(struct dm_pool *mem, unsigned num_bits)
if (mem)
bs = dm_pool_zalloc(mem, size);
else if ((bs = dm_malloc(size)))
- memset(mem, 0, size);
+ memset(bs, 0, size);
if (!bs)
return NULL;