aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2022-03-20 07:28:39 -0700
committerLukas Rusak <lorusak@gmail.com>2022-03-23 20:26:59 -0700
commitec7ed895f87a292e9dbc2b006890c1867c0ea076 (patch)
tree0b33f2f75438cb11a5ff5e72d902b6c85dbf8081
parent1b458728604d635c648e9d7a715b58c60634c0c5 (diff)
CThreadImplLinux: adjust error message
-rw-r--r--xbmc/platform/linux/threads/ThreadImplLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/platform/linux/threads/ThreadImplLinux.cpp b/xbmc/platform/linux/threads/ThreadImplLinux.cpp
index 6393347c4d..1617e50941 100644
--- a/xbmc/platform/linux/threads/ThreadImplLinux.cpp
+++ b/xbmc/platform/linux/threads/ThreadImplLinux.cpp
@@ -121,7 +121,7 @@ void CThreadImplLinux::SetThreadInfo(const std::string& name)
// start thread with nice level of application
const int appNice = getpriority(PRIO_PROCESS, getpid());
if (setpriority(PRIO_PROCESS, m_threadID, appNice) != 0)
- CLog::Log(LOGERROR, "{}: error {}", __FUNCTION__, strerror(errno));
+ CLog::Log(LOGERROR, "[threads] failed to set priority: {}", strerror(errno));
}
}