From c39fd2a479cf28978236de0e9fc0304a8eda4e6e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 29 Dec 2010 20:35:02 +0100 Subject: [PATCH] notmuch-deliver: Don't read errno inappropriately. Signed-off-by: Thomas Schwinge --- contrib/notmuch-deliver/src/main.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.43.0