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/optstr.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/optstr.c')
-rw-r--r-- | shlibs/mount/src/optstr.c | 3 |
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; } |