improve error handling

This commit is contained in:
Wim Taymans 2019-06-07 17:50:46 +02:00
parent 8cda0dd962
commit b2992a0f8a
2 changed files with 7 additions and 3 deletions

View file

@ -469,7 +469,7 @@ static void idle_func(struct spa_source *source)
}
if ((r = pw_rtkit_make_realtime(system_bus, 0, rtprio)) < 0) {
pw_log_debug("could not make thread realtime: %s", strerror(r));
pw_log_debug("could not make thread realtime: %s", spa_strerror(r));
} else {
pw_log_debug("thread made realtime");
}