1
0

proj: Correct parsing in python

This commit is contained in:
2025-04-19 18:07:36 +02:00
parent e83e1a31b8
commit 1e40a1b3c6
5 changed files with 47 additions and 23 deletions

View File

@@ -2355,9 +2355,9 @@ int sym(getaddrinfo)(const char *restrict node, const char *restrict service, co
}
const int ret = __real_getaddrinfo(node, service, hints, res);
if (res != NULL) {
msg("return %i:%s; res=%qi", ret, getaddrinfoerror(ret), *res);
msg("return %i:%s; errno %s; res=%qi", ret, getaddrinfoerror(ret), strerrorname_np(errno), *res);
} else {
msg("return %i:%s", ret, getaddrinfoerror(ret));
msg("return %i:%s; errno %s", ret, getaddrinfoerror(ret), strerrorname_np(errno));
}
return ret;
}