diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2008-05-02 13:08:15 +0000 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2008-05-02 13:08:15 +0000 |
commit | 43a30a2ff176302e68813f0021aee95799560d78 (patch) | |
tree | f93a25103934b17c6f10b9462302e551915aea87 | |
parent | bb4f83b901c2c18e8bec5b044b1c624759a0113b (diff) |
Fix setrlimit() return value comparsion.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2350 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/daemon/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index b1ba5a31..b6260bb6 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -493,7 +493,7 @@ int main(int argc, char *argv[]) { else { rl.rlim_max = rl.rlim_cur = 9; - if (setrlimit(RLIMIT_RTPRIO, &rl) < 0) { + if (setrlimit(RLIMIT_RTPRIO, &rl) >= 0) { pa_log_info("Successfully increased RLIMIT_RTPRIO"); drop = TRUE; } else |