summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/utils.c
diff options
context:
space:
mode:
authorKarel Zak2010-09-13 17:06:18 +0200
committerKarel Zak2011-01-03 12:28:42 +0100
commit3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d (patch)
tree5813da0ccbd778cb7e79f42eb39de43aadd1d000 /shlibs/mount/src/utils.c
parentlibmount: add new psetudo filesystems (diff)
downloadkernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.tar.gz
kernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.tar.xz
kernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.zip
libmount: rewrite DBG() macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/utils.c')
-rw-r--r--shlibs/mount/src/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shlibs/mount/src/utils.c b/shlibs/mount/src/utils.c
index 1947643ad..99b7d5e5d 100644
--- a/shlibs/mount/src/utils.c
+++ b/shlibs/mount/src/utils.c
@@ -410,8 +410,7 @@ char *mnt_get_mountpoint(const char *path)
memcpy(mnt, "/", 2);
done:
- DBG(DEBUG_UTILS, fprintf(stderr,
- "libmount: utils: fs-root for %s is %s\n", path, mnt));
+ DBG(UTILS, mnt_debug("fs-root for %s is %s", path, mnt));
return mnt;
err:
free(mnt);