aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2010-12-29 20:35:02 +0100
committerAli Polatel <alip@exherbo.org>2011-11-05 01:12:35 +0200
commitc39fd2a479cf28978236de0e9fc0304a8eda4e6e (patch)
treeb6703d7a66c00bf416d3194fff5112982c90467c /contrib
parent8935c83c56b70aec7a4a31b6015fff87721c5d13 (diff)
notmuch-deliver: Don't read errno inappropriately.
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/notmuch-deliver/src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/notmuch-deliver/src/main.c b/contrib/notmuch-deliver/src/main.c
index 8643776..f7a4eaa 100644
--- a/contrib/notmuch-deliver/src/main.c
+++ b/contrib/notmuch-deliver/src/main.c
@@ -167,8 +167,7 @@ save_splice(int fdin, int fdout)
do {
written = splice(pfd[0], NULL, fdout, NULL, ret, 0);
if (!written) {
- g_critical("Splicing data to temporary file failed: %s",
- g_strerror(errno));
+ g_critical("Splicing data to temporary file failed: internal error");
close(pfd[0]);
close(pfd[1]);
return EX_IOERR;