From 30f3128703526fa4cbe8141eb5f11b9fb84de9f2 Mon Sep 17 00:00:00 2001 From: bobo1on1 Date: Fri, 4 Jun 2010 17:49:09 +0000 Subject: fixed: always log which socket lirc uses git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30830 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- guilib/common/LIRC.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guilib') diff --git a/guilib/common/LIRC.cpp b/guilib/common/LIRC.cpp index ab6b758528..5f220afd55 100644 --- a/guilib/common/LIRC.cpp +++ b/guilib/common/LIRC.cpp @@ -128,6 +128,8 @@ void CRemoteControl::Initialize() addr.sun_family = AF_UNIX; strcpy(addr.sun_path, m_deviceName.c_str()); + CLog::Log(LOGINFO, "LIRC %s: using: %s", __FUNCTION__, addr.sun_path); + // Open the socket from which we will receive the remote commands if ((m_fd = socket(AF_UNIX, SOCK_STREAM, 0)) != -1) { @@ -157,7 +159,7 @@ void CRemoteControl::Initialize() if ((m_inotify_wd = inotify_add_watch(m_inotify_fd, m_deviceName.c_str(), IN_DELETE_SELF)) != -1) { m_bInitialized = true; - CLog::Log(LOGINFO, "LIRC %s: sucessfully started on: %s", __FUNCTION__, addr.sun_path); + CLog::Log(LOGINFO, "LIRC %s: sucessfully started", __FUNCTION__); } else CLog::Log(LOGDEBUG, "LIRC: Failed to initialize Inotify. LIRC device will not be monitored."); -- cgit v1.2.3