From 12fa728d27c133572d38c52e6ae56256792b2727 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 27 Jan 2013 23:41:33 +0100 Subject: 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. --- libports/manage-multithread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libports/manage-multithread.c') 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"); -- cgit v1.2.3