summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/optstr.c
diff options
context:
space:
mode:
authorKarel Zak2010-09-29 11:19:18 +0200
committerKarel Zak2011-01-03 12:28:43 +0100
commit0ccfc837ee1e7c8fc48626433fd2fcc8adc872b2 (patch)
tree72306cae5d8dee37419a7a26361b6c7a7d96e62d /shlibs/mount/src/optstr.c
parentlibmount: add FS detection (diff)
downloadkernel-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/optstr.c')
-rw-r--r--shlibs/mount/src/optstr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shlibs/mount/src/optstr.c b/shlibs/mount/src/optstr.c
index 507a7b53b..626711c48 100644
--- a/shlibs/mount/src/optstr.c
+++ b/shlibs/mount/src/optstr.c
@@ -258,7 +258,8 @@ int mnt_optstr_prepend_option(char **optstr, const char *name, const char *value
free(*optstr);
*optstr = tmp;
- DBG(OPTIONS, mnt_debug("failed to prepend '%s[=%s]' to '%s'", name, value, optstr));
+ DBG(OPTIONS, mnt_debug("failed to prepend '%s[=%s]' to '%s'",
+ name, value, *optstr));
return rc;
}