diff options
author | Guillem Jover <guillem@debian.org> | 2014-09-25 21:05:08 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-06 02:08:04 +0200 |
commit | 183fcc5b4cbe9ca1d89011ef4b37cee1e2c8c856 (patch) | |
tree | bf1b802f8fd86a3ac1a9b170c6787302e2b71ce0 /src/trigproc.c | |
parent | 8f3c317bf1b565b50e30b493f9c769ae1ad51c31 (diff) | |
download | dpkg-183fcc5b4cbe9ca1d89011ef4b37cee1e2c8c856.tar.gz |
dpkg: Do not print pointers in debug output messages
This does not give any meaningful information, besides the pointers
being equal or different. Print an actual file or package name instead.
Diffstat (limited to 'src/trigproc.c')
-rw-r--r-- | src/trigproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trigproc.c b/src/trigproc.c index 058e3d564..4866bcf22 100644 --- a/src/trigproc.c +++ b/src/trigproc.c @@ -294,7 +294,7 @@ check_trigger_cycle(struct pkginfo *processing_now) /* We give up on the _earliest_ package involved. */ giveup = tortoise->pkgs->pkg; - debug(dbg_triggers, "check_triggers_cycle pnow=%s giveup=%p", + debug(dbg_triggers, "check_triggers_cycle pnow=%s giveup=%s", pkg_name(processing_now, pnaw_always), pkg_name(giveup, pnaw_always)); assert(giveup->status == PKG_STAT_TRIGGERSAWAITED || |