diff options
author | bobo1on1 <bobo1on1@svn> | 2010-06-04 17:49:09 +0000 |
---|---|---|
committer | bobo1on1 <bobo1on1@svn> | 2010-06-04 17:49:09 +0000 |
commit | 30f3128703526fa4cbe8141eb5f11b9fb84de9f2 (patch) | |
tree | 87041cf6854013fffe4ca1e6f8ba0e83cd081e8e /guilib | |
parent | f36812061bd273975950540498ddd22b24bb0501 (diff) |
fixed: always log which socket lirc uses
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30830 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/common/LIRC.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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."); |