[read_input_nblock] use standard int format specifiers

This commit is contained in:
nick black 2021-12-13 17:02:30 -05:00
parent a3c37932d6
commit b3710c0cf1
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1819,7 +1819,7 @@ read_input_nblock(int fd, unsigned char* buf, size_t buflen, int *bufused,
}
*bufused += r;
space -= r;
loginfo("read %lldB from %d (%lluB left)\n", (long long)r, fd, (unsigned long long)space);
loginfo("read %" PRIdPTR "B from %d (%" PRIuPTR "B left)\n", r, fd, space);
}
// are terminal and stdin distinct for this inputctx?