diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-01 20:35:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-01 20:35:16 +0000 |
commit | e5cf8594e813af20067355a4f63c6d3511b3b5fd (patch) | |
tree | 69a17531e01b8f66d8f2661243e4d122d3874212 /buffer-poll.c | |
parent | dd41035a4d71057108da8c7b5e1876cc02b4995c (diff) |
long for pid.
Diffstat (limited to 'buffer-poll.c')
-rw-r--r-- | buffer-poll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buffer-poll.c b/buffer-poll.c index 25394575..d05c22f9 100644 --- a/buffer-poll.c +++ b/buffer-poll.c @@ -1,4 +1,4 @@ -/* $Id: buffer-poll.c,v 1.7 2008-06-18 22:21:51 nicm Exp $ */ +/* $Id: buffer-poll.c,v 1.8 2008-07-01 20:35:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -41,8 +41,8 @@ buffer_poll(struct pollfd *pfd, struct buffer *in, struct buffer *out) { ssize_t n; - log_debug("buffer_poll (%d): fd=%d, revents=%d; out=%zu in=%zu", - (int) getpid(), + log_debug("buffer_poll (%ld): fd=%d, revents=%d; out=%zu in=%zu", + (long) getpid(), pfd->fd, pfd->revents, BUFFER_USED(out), BUFFER_USED(in)); if (pfd->revents & (POLLERR|POLLNVAL|POLLHUP)) |