summaryrefslogtreecommitdiffstats
path: root/libmount/src/tab_update.c
diff options
context:
space:
mode:
authorKarel Zak2018-02-01 13:18:57 +0100
committerKarel Zak2018-02-01 13:18:57 +0100
commit63c9c05d358c339b473b6f18d9a6f3fe0e6bce42 (patch)
tree1ec3e58797f3a202b2d5e60c16b0213d82980a3b /libmount/src/tab_update.c
parentlib/exec_shell: cleanup function attributes (diff)
downloadkernel-qcow2-util-linux-63c9c05d358c339b473b6f18d9a6f3fe0e6bce42.tar.gz
kernel-qcow2-util-linux-63c9c05d358c339b473b6f18d9a6f3fe0e6bce42.tar.xz
kernel-qcow2-util-linux-63c9c05d358c339b473b6f18d9a6f3fe0e6bce42.zip
misc: remove %p from debug messages
From libs where suid program may be executed by non-root user. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/tab_update.c')
-rw-r--r--libmount/src/tab_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/tab_update.c b/libmount/src/tab_update.c
index 23a5a8bc5..b08ac18c1 100644
--- a/libmount/src/tab_update.c
+++ b/libmount/src/tab_update.c
@@ -169,8 +169,8 @@ int mnt_update_set_fs(struct libmnt_update *upd, unsigned long mountflags,
return -EINVAL;
DBG(UPDATE, ul_debugobj(upd,
- "resetting FS [fs=0x%p, target=%s, flags=0x%08lx]",
- fs, target, mountflags));
+ "resetting FS [target=%s, flags=0x%08lx]",
+ target, mountflags));
if (fs) {
DBG(UPDATE, ul_debugobj(upd, "FS template:"));
DBG(UPDATE, mnt_fs_print_debug(fs, stderr));