From 3a4c6cbe0cca87dccfa5da612669523b5b93e7a6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Feb 2008 12:49:26 +0000 Subject: fix setting priority with setpriority() --- mdkapplet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdkapplet b/mdkapplet index 6e151b92..ba943c47 100755 --- a/mdkapplet +++ b/mdkapplet @@ -332,7 +332,7 @@ sub silentCheck() { my $_safe = before_leaving { POSIX::_exit(0) }; # be nice with other processes: - setpriority('PRIO_PROCESS', $$, 7); + setpriority(0, $$, 7); # 0 is PRIO_PROCESS my $exit = sub { my ($state) = @_; -- cgit v1.2.1