mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 06:53:04 +00:00
Fix readability of socket err
socket {} expected success "but" got err {}
This commit is contained in:
parent
b1da3acc78
commit
fd310e0230
|
@ -72,7 +72,7 @@ static int run_tests(void)
|
||||||
strerror_r(errno, err_string1, ERR_STRING_SZ);
|
strerror_r(errno, err_string1, ERR_STRING_SZ);
|
||||||
|
|
||||||
fprintf(stderr, "socket(%d, %d, %d) expected "
|
fprintf(stderr, "socket(%d, %d, %d) expected "
|
||||||
"success got err (%s)\n",
|
"success but got err (%s)\n",
|
||||||
s->domain, s->type, s->protocol,
|
s->domain, s->type, s->protocol,
|
||||||
err_string1);
|
err_string1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user