[04/14] can_dump_inet_sk(): improve an error message

Submitted by Kir Kolyshkin on March 21, 2017, 10 p.m.

Details

Message ID 20170321220101.21228-5-kir@openvz.org
State New
Series "Spring '07 cleaning"
Headers show

Commit Message

Kir Kolyshkin March 21, 2017, 10 p.m.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
---
 criu/sk-inet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/criu/sk-inet.c b/criu/sk-inet.c
index e1c5b87..9348673 100644
--- a/criu/sk-inet.c
+++ b/criu/sk-inet.c
@@ -138,7 +138,7 @@  static int can_dump_inet_sk(const struct inet_sk_desc *sk)
 
 	if (sk->type != SOCK_STREAM) {
 		pr_err("Can't dump %d inet socket %x. "
-				"Only can stream and dgram.\n",
+				"Only stream and dgram are supported.\n",
 				sk->type, sk->sd.ino);
 		return 0;
 	}