[CRIU] [crtools-bot for Pavel Emelyanov ] show: Fix inet sockets show "loglevel"

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 2 06:54:42 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit ba562bc2725007424819f5bd09bcc074b5cc6a69
Author: Pavel Emelyanov <xemul at parallels.com>
Date:   Fri Mar 2 15:48:58 2012 +0400

    show: Fix inet sockets show "loglevel"
    
    Showers should use pr_msg to avoid loglevel issues.
    
    Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 sockets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sockets.c b/sockets.c
index 8a2f3ea..c4a847c 100644
--- a/sockets.c
+++ b/sockets.c
@@ -1276,7 +1276,7 @@ void show_inetsk(int fd)
 			pr_perror("Failed to translate address");
 		}
 
-		pr_info("fd %d family %d type %d proto %d port %d state %d "
+		pr_msg("fd %d family %d type %d proto %d port %d state %d "
 			"--> %s\n", ie.fd, ie.family, ie.type, ie.proto,
 			ie.src_port, ie.state, src_addr);
 	}


More information about the CRIU mailing list