From 1a34570e755a93ecc7b9bf87b9f5e99c187b6dda Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Mar 2011 09:12:11 +0100 Subject: dpkg: Use package specifiers in statusfd and log messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The colon is often used as a separator but it is always preceded and/or followed by a space so that it's possible to distinguish between the colon used as a separator and the colon embedded in a package name (like in "libc6:amd64"). Based-on-patch-by: Raphaƫl Hertzog Patch-sponsored-by: Linaro Limited Signed-off-by: Guillem Jover --- src/trigproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trigproc.c') diff --git a/src/trigproc.c b/src/trigproc.c index 5f8fa63e3..073a18c55 100644 --- a/src/trigproc.c +++ b/src/trigproc.c @@ -120,7 +120,7 @@ trigproc_run_deferred(void) continue; } push_error_context_jump(&ejbuf, print_error_perpackage, - pkg->set->name); + pkg_name(pkg, pnaw_nonambig)); pkg->clientdata->trigprocdeferred = NULL; trigproc(pkg); @@ -292,7 +292,7 @@ check_trigger_cycle(struct pkginfo *processing_now) pkg_set_status(giveup, stat_halfconfigured); modstatdb_note(giveup); print_error_perpackage(_("triggers looping, abandoned"), - giveup->set->name); + pkg_name(giveup, pnaw_nonambig)); return giveup; } -- cgit v1.2.3