diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-27 23:41:33 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-27 23:41:33 +0100 |
commit | 12fa728d27c133572d38c52e6ae56256792b2727 (patch) | |
tree | 937785720336398815c0f6881d4918c57fc916d4 /libports | |
parent | 5f089bd0d24aec09503d1d1d8a9ca2665ef4ff7b (diff) | |
download | hurd-12fa728d27c133572d38c52e6ae56256792b2727.tar.gz hurd-12fa728d27c133572d38c52e6ae56256792b2727.tar.bz2 hurd-12fa728d27c133572d38c52e6ae56256792b2727.zip |
Do not warn about not raising priority of non-root translators
* libports/manage-multithread.c (adjust_priority): Do not warn when raising the
priority returns EPERM.
Diffstat (limited to 'libports')
-rw-r--r-- | libports/manage-multithread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index c46a09fc..4003cfbc 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -77,7 +77,7 @@ out: if (self != MACH_PORT_NULL) mach_port_deallocate (mach_task_self (), self); - if (err) + if (err && err != EPERM) { errno = err; perror ("unable to adjust libports thread priority"); |