summaryrefslogtreecommitdiffstats
path: root/libblkid/src/superblocks/zfs.c
diff options
context:
space:
mode:
authorKarel Zak2013-04-08 18:22:13 +0200
committerKarel Zak2013-04-08 18:22:13 +0200
commit0540ea544d4b459bc148d29645225190b76ca8b7 (patch)
treef0902ec8cb04f8148ffd87170c2f1bdd7534564e /libblkid/src/superblocks/zfs.c
parentbash-completion: Symlink runuser symlink to su so it gets loaded on demand. (diff)
downloadkernel-qcow2-util-linux-0540ea544d4b459bc148d29645225190b76ca8b7.tar.gz
kernel-qcow2-util-linux-0540ea544d4b459bc148d29645225190b76ca8b7.tar.xz
kernel-qcow2-util-linux-0540ea544d4b459bc148d29645225190b76ca8b7.zip
libblkid: clean up DBG()
- use stderr only - use BLKID_ prefix for debug masks - don't use \n in in messages and don't use printf(), but use generic blkid_debug(). Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/superblocks/zfs.c')
-rw-r--r--libblkid/src/superblocks/zfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c
index b96c5df45..04036c471 100644
--- a/libblkid/src/superblocks/zfs.c
+++ b/libblkid/src/superblocks/zfs.c
@@ -64,7 +64,7 @@ struct nvlist {
};
#define nvdebug(fmt, ...) do { } while(0)
-/*#define nvdebug(fmt, a...) printf(fmt, ##a)*/
+/*#define nvdebug(fmt, a...) fprintf(stderr, fmt, ##a)*/
static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
{
@@ -157,7 +157,7 @@ static void zfs_extract_guid_name(blkid_probe pr, loff_t offset)
}
#define zdebug(fmt, ...) do {} while(0)
-/*#define zdebug(fmt, a...) printf(fmt, ##a)*/
+/*#define zdebug(fmt, a...) fprintf(stderr, fmt, ##a)*/
/* ZFS has 128x1kB host-endian root blocks, stored in 2 areas at the start
* of the disk, and 2 areas at the end of the disk. Check only some of them...