diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2010-12-29 20:35:02 +0100 |
---|---|---|
committer | Ali Polatel <alip@exherbo.org> | 2011-11-05 01:12:35 +0200 |
commit | c39fd2a479cf28978236de0e9fc0304a8eda4e6e (patch) | |
tree | b6703d7a66c00bf416d3194fff5112982c90467c | |
parent | 8935c83c56b70aec7a4a31b6015fff87721c5d13 (diff) |
notmuch-deliver: Don't read errno inappropriately.
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
-rw-r--r-- | contrib/notmuch-deliver/src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/notmuch-deliver/src/main.c b/contrib/notmuch-deliver/src/main.c index 86437763..f7a4eaa6 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; |