[CRIU] [crtools-bot for Cyrill Gorcunov ] log: Fix typo in in fini_log

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 1 16:05:43 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 9aa2252ca0e42d336a2ce7b7e06bc928b90b55d8
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Mon Feb 27 14:00:29 2012 +0400

    log: Fix typo in in fini_log
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
 log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/log.c b/log.c
index 4072aaa..ba617eb 100644
--- a/log.c
+++ b/log.c
@@ -61,7 +61,7 @@ void fini_log(void)
 {
 	if (logfd != STDERR_FILENO &&
 	    logfd != STDIN_FILENO &&
-	    logfd != STDERR_FILENO)
+	    logfd != STDOUT_FILENO)
 		close(logfd);
 
 	logfd = STDERR_FILENO;


More information about the CRIU mailing list