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:
parent
2882ac6976
commit
db80b7752a
4 changed files with 15 additions and 14 deletions
2
fdname.c
2
fdname.c
|
@ -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) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue