summaryrefslogtreecommitdiffstats
path: root/libmount/src/tab_diff.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_diff.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_diff.c')
-rw-r--r--libmount/src/tab_diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmount/src/tab_diff.c b/libmount/src/tab_diff.c
index 6caaa2a2d..7c898697e 100644
--- a/libmount/src/tab_diff.c
+++ b/libmount/src/tab_diff.c
@@ -237,9 +237,9 @@ int mnt_diff_tables(struct libmnt_tabdiff *df, struct libmnt_table *old_tab,
if (!no && !nn) /* both tables are empty */
return 0;
- DBG(DIFF, ul_debugobj(df, "analyze new=%p (%d entries), "
- "old=%p (%d entries)",
- new_tab, nn, old_tab, no));
+ DBG(DIFF, ul_debugobj(df, "analyze new (%d entries), "
+ "old (%d entries)",
+ nn, no));
mnt_reset_iter(&itr, MNT_ITER_FORWARD);