diff options
author | Neil Brown <neilb@suse.de> | 2006-01-27 04:48:28 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-01-27 04:48:28 +0000 |
commit | 29e766a5f4459b012a09d0243040ec2e0205deea (patch) | |
tree | a6e1b0acad54a5b9d1beff5f17a117f192069f9c /super0.c | |
parent | 838acbc2724c57f9dc1facec201d20f09a81d375 (diff) | |
download | mdadm-29e766a5f4459b012a09d0243040ec2e0205deea.tar.gz mdadm-29e766a5f4459b012a09d0243040ec2e0205deea.tar.xz mdadm-29e766a5f4459b012a09d0243040ec2e0205deea.zip |
Minor fixes
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -691,7 +691,7 @@ static int add_internal_bitmap0(struct supertype *st, void *sbv, int chunk, int sb->state |= (1<<MD_SB_BITMAP_PRESENT); - memset(bms, sizeof(*bms), 0); + memset(bms, 0, sizeof(*bms)); bms->magic = __cpu_to_le32(BITMAP_MAGIC); bms->version = __cpu_to_le32(major); uuid_from_super0((int*)bms->uuid, sb); |