diff --git a/contrib/telnet/telnetd/termstat.c b/contrib/telnet/telnetd/termstat.c index 36f599722308..88425206da56 100644 --- a/contrib/telnet/telnetd/termstat.c +++ b/contrib/telnet/telnetd/termstat.c @@ -439,7 +439,7 @@ clientstat(int code, int parm1, int parm2) useeditmode = 0; if (tty_isediting()) useeditmode |= MODE_EDIT; - if (tty_istrapsig) + if (tty_istrapsig()) useeditmode |= MODE_TRAPSIG; if (tty_issofttab()) useeditmode |= MODE_SOFT_TAB;