diff options
author | Karel Zak | 2010-09-29 11:19:18 +0200 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:43 +0100 |
commit | 0ccfc837ee1e7c8fc48626433fd2fcc8adc872b2 (patch) | |
tree | 72306cae5d8dee37419a7a26361b6c7a7d96e62d /shlibs/mount/src/tab.c | |
parent | libmount: add FS detection (diff) | |
download | kernel-qcow2-util-linux-0ccfc837ee1e7c8fc48626433fd2fcc8adc872b2.tar.gz kernel-qcow2-util-linux-0ccfc837ee1e7c8fc48626433fd2fcc8adc872b2.tar.xz kernel-qcow2-util-linux-0ccfc837ee1e7c8fc48626433fd2fcc8adc872b2.zip |
libmount: use attribute __format__ for debug routines
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab.c')
-rw-r--r-- | shlibs/mount/src/tab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/tab.c b/shlibs/mount/src/tab.c index 39f7814e4..b30bc00d0 100644 --- a/shlibs/mount/src/tab.c +++ b/shlibs/mount/src/tab.c @@ -214,7 +214,7 @@ int mnt_tab_get_root_fs(mnt_tab *tb, mnt_fs **root) if (!tb || !root) return -EINVAL; - DBG(TAB, mnt_debug_h(tb, "lookup root fs", tb)); + DBG(TAB, mnt_debug_h(tb, "lookup root fs")); mnt_reset_iter(&itr, MNT_ITER_FORWARD); while(mnt_tab_next_fs(tb, &itr, &fs) == 0) { @@ -358,7 +358,7 @@ int mnt_tab_find_next_fs(mnt_tab *tb, mnt_iter *itr, if (!tb || !itr || !fs || !match_func) return -EINVAL; - DBG(TAB, mnt_debug_h(tb, "lookup next fs", tb)); + DBG(TAB, mnt_debug_h(tb, "lookup next fs")); if (!itr->head) MNT_ITER_INIT(itr, &tb->ents); |