summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2021-12-22 09:02:50 +1100
committerDamien Miller <djm@mindrot.org>2021-12-22 09:02:50 +1100
commit715c892f0a5295b391ae92c26ef4d6a86ea96e8e (patch)
treea6dec7d4903af95a7693578b539b65c16ad48356 /channels.c
parent7a7c69d8b4022b1e5c0afb169c416af8ce70f3e8 (diff)
downloadopenssh-git-715c892f0a5295b391ae92c26ef4d6a86ea96e8e.tar.gz
remove sys/param.h in -portable, after upstream
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 1c714c84..3368098e 100644
--- a/channels.c
+++ b/channels.c
@@ -2027,7 +2027,7 @@ channel_handle_wfd(struct ssh *ssh, Channel *c,
#ifdef _AIX
/* XXX: Later AIX versions can't push as much data to tty */
if (c->wfd_isatty)
- dlen = MIN(dlen, 8*1024);
+ dlen = MINIMUM(dlen, 8*1024);
#endif
len = write(c->wfd, buf, dlen);