aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/chat.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-16 15:44:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-16 15:44:12 +0000
commit50541c922e709424cff5d18ccb445d3b6bb3009e (patch)
treec7a72f3b5a46565312b00618c4aba1285bf5007a /libexec/getty/chat.c
parent5d0ce6a552e5b6a77a4e31881ab348fcf27a9237 (diff)
Notes
Diffstat (limited to 'libexec/getty/chat.c')
-rw-r--r--libexec/getty/chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c
index 8fb8aad7a56d..4817c977ce1b 100644
--- a/libexec/getty/chat.c
+++ b/libexec/getty/chat.c
@@ -388,7 +388,7 @@ chat_send(char const *str)
{
int r = 0;
- if (chat_debug && CHATDEBUG_SEND)
+ if (chat_debug & CHATDEBUG_SEND)
syslog(LOG_DEBUG, "chat_send '%s'", cleanstr(str, strlen(str)));
if (*str) {