summaryrefslogtreecommitdiff
path: root/usr/src/lib/lvm/libmeta/common/meta_sp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/lvm/libmeta/common/meta_sp.c')
-rw-r--r--usr/src/lib/lvm/libmeta/common/meta_sp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/lib/lvm/libmeta/common/meta_sp.c b/usr/src/lib/lvm/libmeta/common/meta_sp.c
index b71f867c51..3b9ec353eb 100644
--- a/usr/src/lib/lvm/libmeta/common/meta_sp.c
+++ b/usr/src/lib/lvm/libmeta/common/meta_sp.c
@@ -20,8 +20,7 @@
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
@@ -2356,7 +2355,7 @@ meta_sp_print(
}
if (sp_parent_printed[setno] == NULL)
sp_parent_printed[setno] =
- Zalloc(BT_BITOUL(MD_MAXUNITS));
+ Zalloc(BT_SIZEOFMAP(MD_MAXUNITS));
BT_SET(sp_parent_printed[setno], unit);
}
}