1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-13 23:13:24 +00:00

Corrected printf format for type socklen_t in two places; minor corrs in test.sh

This commit is contained in:
Gerhard Rieger 2022-10-30 15:50:44 +01:00
parent 2882ac6976
commit db80b7752a
4 changed files with 15 additions and 14 deletions

View file

@ -266,7 +266,7 @@ int sockname(int fd, FILE *outfile, char style) {
#else
"SO_PROTOTYPE"
#endif
", &%p, {"F_Zu"}): errno=%d (%s)", fd, &proto, optlen, errno, strerror(errno));
", &%p, {"F_socklen"}): errno=%d (%s)", fd, &proto, optlen, errno, strerror(errno));
}
proto = 0;
#endif /* defined(SO_PROTOCOL) || defined(SO_PROTOTYPE) */