From fd310e023063a2e2b26585fbb509f62043a746bd Mon Sep 17 00:00:00 2001 From: Sparsh Date: Tue, 18 Feb 2020 20:12:07 +0545 Subject: [PATCH] Fix readability of socket err socket {} expected success "but" got err {} --- tools/testing/selftests/net/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/socket.c b/tools/testing/selftests/net/socket.c index afca1ead677f..69612e694bf6 100644 --- a/tools/testing/selftests/net/socket.c +++ b/tools/testing/selftests/net/socket.c @@ -72,7 +72,7 @@ static int run_tests(void) strerror_r(errno, err_string1, ERR_STRING_SZ); fprintf(stderr, "socket(%d, %d, %d) expected " - "success got err (%s)\n", + "success but got err (%s)\n", s->domain, s->type, s->protocol, err_string1);