summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2022-03-15 05:27:38 +0000
committerDamien Miller <djm@cvs.openbsd.org>2022-03-15 05:27:38 +0000
commit21f665174220ae77e2285df7ce5beeb03c7e4f34 (patch)
treec6acf5eafb75a0a9abad87c0685635a6d386ecee /usr.bin/ssh/channels.c
parentae6d08bdbe3e805686ce609decdf73447e8c024f (diff)
improve DEBUG_CHANNEL_POLL debugging message
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index db9d5d9dfca..d6048b34dda 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.413 2022/02/17 10:58:27 djm Exp $ */
+/* $OpenBSD: channels.c,v 1.414 2022/03/15 05:27:37 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2433,10 +2433,10 @@ dump_channel_poll(const char *func, const char *what, Channel *c,
u_int pollfd_offset, struct pollfd *pfd)
{
#ifdef DEBUG_CHANNEL_POLL
- debug3_f("channel %d: rfd r%d w%d e%d s%d "
- "pfd[%u].fd=%d want 0x%02x ev 0x%02x ready 0x%02x rev 0x%02x",
- c->self, c->rfd, c->wfd, c->efd, c->sock, pollfd_offset, pfd->fd,
- c->io_want, pfd->events, c->io_ready, pfd->revents);
+ debug3("%s: channel %d: rfd r%d w%d e%d s%d pfd[%u].fd=%d "
+ "io_want 0x%02x pfd.ev 0x%02x io_ready 0x%02x pfd.rev 0x%02x",
+ func, c->self, c->rfd, c->wfd, c->efd, c->sock, pollfd_offset,
+ pfd->fd, c->io_want, pfd->events, c->io_ready, pfd->revents);
#endif
}