diff options
author | Alasdair Kergon <agk@redhat.com> | 2005-10-16 23:03:59 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2005-10-16 23:03:59 +0000 |
commit | 2262b32057a7a60b3de3876b26b192fa4d05205c (patch) | |
tree | e2593b67101f9e681cf3a9a5dafedb58c23c661a /lib/format1/lvm1-label.c | |
parent | a3f6b2ce798cf738c4e8bf510f86ebd45815842c (diff) | |
download | lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.tar.gz lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.tar.xz lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.zip |
Use hash, bitset, malloc, pool from libdevmapper.
Diffstat (limited to 'lib/format1/lvm1-label.c')
-rw-r--r-- | lib/format1/lvm1-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format1/lvm1-label.c b/lib/format1/lvm1-label.c index ceb73491..3c8b4f3f 100644 --- a/lib/format1/lvm1-label.c +++ b/lib/format1/lvm1-label.c @@ -90,7 +90,7 @@ static void _destroy_label(struct labeller *l, struct label *label) static void _destroy(struct labeller *l) { - dbg_free(l); + dm_free(l); } struct label_ops _lvm1_ops = { @@ -107,7 +107,7 @@ struct labeller *lvm1_labeller_create(struct format_type *fmt) { struct labeller *l; - if (!(l = dbg_malloc(sizeof(*l)))) { + if (!(l = dm_malloc(sizeof(*l)))) { log_err("Couldn't allocate labeller object."); return NULL; } |