mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
%zu format for size_t.
This commit is contained in:
parent
27dcf470dc
commit
88428cff3a
4
job.c
4
job.c
@ -144,8 +144,8 @@ job_write_callback(unused struct bufferevent *bufev, void *data)
|
||||
struct job *job = data;
|
||||
size_t len = EVBUFFER_LENGTH(EVBUFFER_OUTPUT(job->event));
|
||||
|
||||
log_debug("job write %p: %s, pid %ld, output left %lu", job, job->cmd,
|
||||
(long) job->pid, (unsigned long) len);
|
||||
log_debug("job write %p: %s, pid %ld, output left %zu", job, job->cmd,
|
||||
(long) job->pid, len);
|
||||
|
||||
if (len == 0) {
|
||||
shutdown(job->fd, SHUT_WR);
|
||||
|
Loading…
Reference in New Issue
Block a user