summaryrefslogtreecommitdiff
path: root/src/trigproc.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-10-16 07:35:27 +0200
committerGuillem Jover <guillem@debian.org>2010-11-19 05:21:13 +0100
commitfd84ba8969bf305d97c225b44858965e53a0cb66 (patch)
tree2f1e9e5e5694a13c29ed3bc907867a78f14b1a76 /src/trigproc.c
parentdc98261980767f258046f8a4c2e020fcdc92c8b6 (diff)
downloaddpkg-fd84ba8969bf305d97c225b44858965e53a0cb66.tar.gz
Use thisname variable instead of hard-coded 'dpkg' string
This corrects the current program name printed by other tools.
Diffstat (limited to 'src/trigproc.c')
-rw-r--r--src/trigproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trigproc.c b/src/trigproc.c
index 833fb28cb..1490d61a9 100644
--- a/src/trigproc.c
+++ b/src/trigproc.c
@@ -245,7 +245,7 @@ check_trigger_cycle(struct pkginfo *processing_now)
/* Oh dear. hare is a superset of tortoise. We are making no progress. */
fprintf(stderr, _("%s: cycle found while processing triggers:\n chain of"
" packages whose triggers are or may be responsible:\n"),
- DPKG);
+ thisname);
sep = " ";
for (tcn = tortoise; tcn; tcn = tcn->next) {
fprintf(stderr, "%s%s", sep, tcn->then_processed->name);