Update socket.c

Improved the readability of the error message.
This commit is contained in:
Nj Subedi 2013-05-30 12:47:59 +05:45
parent dcdbe33add
commit 2779420295

View file

@ -70,8 +70,8 @@ static int run_tests(void)
if (s->expect < 0) {
strerror_r(errno, err_string1, ERR_STRING_SZ);
fprintf(stderr, "socket(%d, %d, %d) expected "
"success got err (%s)\n",
fprintf(stderr, "Socket(%d, %d, %d) expected "
"success! Instead got error: (%s)\n",
s->domain, s->type, s->protocol,
err_string1);