thread: Fix check that prevented a debug log from printing
Change-Id: I4947c8fae27e9f5fcd282d0ef89accf6aba238da Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/436396 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
7d38f16674
commit
f50d7325f8
@ -380,7 +380,7 @@ spdk_thread_poll(struct spdk_thread *thread, uint32_t max_msgs)
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
if (rc == -1) {
|
||||
if (poller_rc == -1) {
|
||||
SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Poller %p returned -1\n", poller);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user