summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:35 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:35 +0000
commit0410b3d54c2b59d761073207645f1a7fd2df8f5f (patch)
tree813256f327ef1f1588de229537687b287c3f5540 /apt-pkg
parent91b59d09fed17d9462c062e287424ed607bad20f (diff)
Added subprocess to segfault error
Author: jgg Date: 1999-12-12 03:48:36 GMT Added subprocess to segfault error
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/dpkgpm.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 685bd4228..a9982bc34 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkgpm.cc,v 1.15 1999/12/10 06:30:42 jgg Exp $
+// $Id: dpkgpm.cc,v 1.16 1999/12/12 03:48:36 jgg Exp $
/* ######################################################################
DPKG Package Manager - Provide an interface to dpkg
@@ -381,12 +381,12 @@ bool pkgDPkgPM::Go()
{
RunScripts("DPkg::Post-Invoke");
if (WIFSIGNALED(Status) != 0 && WTERMSIG(Status) == SIGSEGV)
- return _error->Error("Sub-process recieved a segmentation fault.");
+ return _error->Error("Sub-process %s recieved a segmentation fault.",Args[0]);
if (WIFEXITED(Status) != 0)
- return _error->Error("Sub-process returned an error code (%u)",WEXITSTATUS(Status));
+ return _error->Error("Sub-process %s returned an error code (%u)",Args[0],WEXITSTATUS(Status));
- return _error->Error("Sub-process exited unexpectedly");
+ return _error->Error("Sub-process %s exited unexpectedly",Args[0]);
}
}