summaryrefslogtreecommitdiff
path: root/dpkg-split/split.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-02-22 23:00:19 +0100
committerGuillem Jover <guillem@debian.org>2010-11-02 20:14:29 +0100
commite547cbf6aaa2e34359d5a042298bf3b0db73a2fc (patch)
tree744d3388dfb2047c3aa871bf089ed29b869d76f1 /dpkg-split/split.c
parentec5ad1fb6ead0e4a4833cc4b54efad92538d4757 (diff)
downloaddpkg-e547cbf6aaa2e34359d5a042298bf3b0db73a2fc.tar.gz
Unify execution error strings
Diffstat (limited to 'dpkg-split/split.c')
-rw-r--r--dpkg-split/split.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dpkg-split/split.c b/dpkg-split/split.c
index fa7533609..4d54cf20f 100644
--- a/dpkg-split/split.c
+++ b/dpkg-split/split.c
@@ -65,18 +65,19 @@ deb_field(const char *filename, const char *field)
close(p[1]);
execlp(BACKEND, BACKEND, "--field", filename, field, NULL);
- ohshite(_("failed to exec dpkg-deb to extract field value"));
+ ohshite(_("unable to execute %s (%s)"),
+ _("package field value extraction"), BACKEND);
}
close(p[1]);
/* Parant reads from pipe. */
varbufreset(&buf);
- fd_vbuf_copy(p[0], &buf, -1, _("dpkg-deb field extraction"));
+ fd_vbuf_copy(p[0], &buf, -1, _("package field value extraction"));
varbufaddc(&buf, '\0');
close(p[0]);
- subproc_wait_check(pid, _("dpkg-deb field extraction"), PROCPIPE);
+ subproc_wait_check(pid, _("package field value extraction"), PROCPIPE);
/* Trim down trailing junk. */
for (end = buf.buf + strlen(buf.buf) - 1; end - buf.buf >= 1; end--)