Fix readability of socket err

socket {} expected success "but" got err {}
This commit is contained in:
Sparsh 2020-02-18 20:12:07 +05:45 committed by GitHub
parent b1da3acc78
commit fd310e0230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);