From 1bd01469c251b4030b4bd9979940856e9ea77cb9 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Fri, 9 Jan 2015 22:45:03 -0800 Subject: [PATCH] WiimoteReal/Linux: log connect failures at WARNING level --- Source/Core/Core/HW/WiimoteReal/IONix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/WiimoteReal/IONix.cpp b/Source/Core/Core/HW/WiimoteReal/IONix.cpp index 67dd785a99..d287121385 100644 --- a/Source/Core/Core/HW/WiimoteReal/IONix.cpp +++ b/Source/Core/Core/HW/WiimoteReal/IONix.cpp @@ -176,7 +176,7 @@ bool WiimoteLinux::ConnectInternal() if ((m_cmd_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)) == -1 || connect(m_cmd_sock, (sockaddr*)&addr, sizeof(addr)) < 0) { - DEBUG_LOG(WIIMOTE, "Unable to open output socket to wiimote: %s", strerror(errno)); + WARN_LOG(WIIMOTE, "Unable to open output socket to wiimote: %s", strerror(errno)); close(m_cmd_sock); m_cmd_sock = -1; return false; @@ -187,7 +187,7 @@ bool WiimoteLinux::ConnectInternal() if ((m_int_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)) == -1 || connect(m_int_sock, (sockaddr*)&addr, sizeof(addr)) < 0) { - DEBUG_LOG(WIIMOTE, "Unable to open input socket from wiimote: %s", strerror(errno)); + WARN_LOG(WIIMOTE, "Unable to open input socket from wiimote: %s", strerror(errno)); close(m_int_sock); close(m_cmd_sock); m_int_sock = m_cmd_sock = -1;