Fix strace result code for recv()

This commit is contained in:
Justine Tunney 2024-09-17 02:16:56 -07:00
parent 96abe91c29
commit f7754ab608
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -66,6 +66,6 @@ ssize_t recv(int fd, void *buf, size_t size, int flags) {
END_CANCELATION_POINT;
DATATRACE("recv(%d, [%#.*hhs%s], %'zu, %#x) → %'ld% lm", fd,
MAX(0, MIN(40, rc)), buf, rc > 40 ? "..." : "", size, flags);
MAX(0, MIN(40, rc)), buf, rc > 40 ? "..." : "", size, flags, rc);
return rc;
}