diff options
author | Wan-Teh Chang <wtc@google.com> | 2013-04-25 11:31:10 -0700 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2013-04-25 11:31:10 -0700 |
commit | 434b616a50d9397bb0b831452743431cca0e77f5 (patch) | |
tree | 3126afb7ef6908d9eae9ba5426f1c9079927c276 | |
parent | 0453272c7cf6c8d86fed74d141261ce82a6ebdee (diff) | |
download | nspr-hg-434b616a50d9397bb0b831452743431cca0e77f5.tar.gz |
Bug 861434: Update the log message for setpriority failure in
PR_SetThreadPriority. r=gsvelto.
-rw-r--r-- | pr/src/pthreads/ptthread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c index 8a87c14f..6043a673 100644 --- a/pr/src/pthreads/ptthread.c +++ b/pr/src/pthreads/ptthread.c @@ -715,7 +715,8 @@ PR_IMPLEMENT(void) PR_SetThreadPriority(PRThread *thred, PRThreadPriority newPri * because adjusting the nice value might be permitted for certain * ranges but not for others. */ PR_LOG(_pr_thread_lm, PR_LOG_MIN, - ("PR_SetThreadPriority: no thread scheduling privilege")); + ("PR_SetThreadPriority: setpriority failed with error %d", + errno)); } } #endif |