diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 20:11:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 20:11:25 +0000 |
commit | be53d7f298bb81297ff0d186f9ddb585a2e57198 (patch) | |
tree | f461c861805dc1694884e772a7c07bfe64f14a3d /buffer-poll.c | |
parent | 0d5ad358ae3bc80cbf226f5aef5790ca1e1f430c (diff) |
More Sun OS crap.
Diffstat (limited to 'buffer-poll.c')
-rw-r--r-- | buffer-poll.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buffer-poll.c b/buffer-poll.c index 5e37bead..37a6b4c0 100644 --- a/buffer-poll.c +++ b/buffer-poll.c @@ -1,4 +1,4 @@ -/* $Id: buffer-poll.c,v 1.5 2008-05-31 20:04:15 nicm Exp $ */ +/* $Id: buffer-poll.c,v 1.6 2008-06-18 20:11:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -42,7 +42,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", - getpid(), pfd->fd, pfd->revents, BUFFER_USED(out), BUFFER_USED(in)); + (int) getpid(), + pfd->fd, pfd->revents, BUFFER_USED(out), BUFFER_USED(in)); if (pfd->revents & (POLLERR|POLLNVAL|POLLHUP)) return (-1); |