diff options
author | Karel Zak | 2014-03-21 12:35:21 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-21 12:35:21 +0100 |
commit | 881410671f24fc7910cfcec66f37abb94008bbfd (patch) | |
tree | e72c403befcca2cd89f86456eebc1dbe9b6273a6 /libfdisk/src/bsd.c | |
parent | libblkid: use new debug functions (diff) | |
download | kernel-qcow2-util-linux-881410671f24fc7910cfcec66f37abb94008bbfd.tar.gz kernel-qcow2-util-linux-881410671f24fc7910cfcec66f37abb94008bbfd.tar.xz kernel-qcow2-util-linux-881410671f24fc7910cfcec66f37abb94008bbfd.zip |
libfdisk: use new debug functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/bsd.c')
-rw-r--r-- | libfdisk/src/bsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libfdisk/src/bsd.c b/libfdisk/src/bsd.c index a9ce650f2..3a4b0e4b6 100644 --- a/libfdisk/src/bsd.c +++ b/libfdisk/src/bsd.c @@ -168,7 +168,7 @@ static int bsd_assign_dos_partition(struct fdisk_context *cxt) cxt->parent->dev_path, i + 1); } - DBG(LABEL, dbgprint("partition %zu assigned to BSD", i + 1)); + DBG(LABEL, ul_debug("partition %zu assigned to BSD", i + 1)); return 0; } @@ -697,7 +697,7 @@ static int bsd_readlabel(struct fdisk_context *cxt) + BSD_LABELOFFSET], sizeof(*d)); if (d->d_magic != BSD_DISKMAGIC || d->d_magic2 != BSD_DISKMAGIC) { - DBG(LABEL, dbgprint("not found magic")); + DBG(LABEL, ul_debug("not found magic")); return -1; } @@ -718,7 +718,7 @@ static int bsd_readlabel(struct fdisk_context *cxt) cxt->label->nparts_cur = d->d_npartitions; cxt->label->nparts_max = BSD_MAXPARTITIONS; - DBG(LABEL, dbgprint("read BSD label")); + DBG(LABEL, ul_debug("read BSD label")); return 0; } |