mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
20 lines
901 B
Diff
20 lines
901 B
Diff
--- a/third_party/rust/audio_thread_priority/src/rt_linux.rs.orig 2019-10-24 07:52:22.690223829 +0200
|
|
+++ b/third_party/rust/audio_thread_priority/src/rt_linux.rs 2019-10-24 07:53:24.586418407 +0200
|
|
@@ -100,7 +100,7 @@
|
|
let mut policy = 0;
|
|
|
|
if unsafe { libc::pthread_getschedparam(pthread_id, &mut policy, &mut param) } < 0 {
|
|
- error!("pthread_getschedparam error {}", pthread_id);
|
|
+ error!("pthread_getschedparam error");
|
|
return Err(());
|
|
}
|
|
|
|
@@ -127,7 +127,7 @@
|
|
if unsafe { libc::pthread_setschedparam(rt_priority_handle.pthread_id,
|
|
rt_priority_handle.policy,
|
|
&rt_priority_handle.param) } < 0 {
|
|
- warn!("could not demote thread {}", rt_priority_handle.pthread_id);
|
|
+ warn!("could not demote thread");
|
|
return Err(());
|
|
}
|
|
return Ok(());
|