[CRIU] [PATCH 3/3] log: Fix typo in in fini_log

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 27 05:03:31 EST 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/log.c b/log.c
index de37b6b..f5b8594 100644
--- a/log.c
+++ b/log.c
@@ -67,7 +67,7 @@ void fini_log(void)
 {
 	if (logfd != STDERR_FILENO &&
 	    logfd != STDIN_FILENO &&
-	    logfd != STDERR_FILENO)
+	    logfd != STDOUT_FILENO)
 		close(logfd);
 
 	logfd = STDERR_FILENO;
-- 
1.7.7.6



More information about the CRIU mailing list