summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-02-07 15:48:46 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-02-07 15:48:46 +0100
commitfa02c492fad6fb668897a5d5a8115af5ca3bb5e7 (patch)
tree5a58e7280f0187509d4a9fecb4e5b41237b904a1 /lib/thread.c
parent22e9f17c7f93f0fbc0964eb923c165e4b484c9ed (diff)
parent540263204c64431399662556c9f40aaccf73aba0 (diff)
Merge branch 'frr/pull/152' ("Lib fixes")
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c
index de7066bb82..28245d11a2 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -719,7 +719,7 @@ funcname_thread_add_read_write (int dir, struct thread_master *m,
#else
if (FD_ISSET (fd, fdset))
{
- zlog (NULL, LOG_WARNING, "There is already %s fd [%d]", (dir = THREAD_READ) ? "read" : "write", fd);
+ zlog (NULL, LOG_WARNING, "There is already %s fd [%d]", (dir == THREAD_READ) ? "read" : "write", fd);
return NULL;
}