From c07b5efe455f32a0bf3cf090b784c7c2993a28cf Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 26 Jun 2009 13:39:47 +0300 Subject: [PATCH] close_error_pipe: return value instead of garbage Signed-off-by: Sergei Trofimovich --- src/utilunix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilunix.c b/src/utilunix.c index 8c314ac6c..0dade587a 100644 --- a/src/utilunix.c +++ b/src/utilunix.c @@ -395,7 +395,7 @@ close_error_pipe (int error, const char *text) /* already closed */ if (error_pipe[0] == -1) - return; + return 0; if (error) title = MSG_ERROR;