diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-01-05 19:50:44 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-02-17 12:02:31 +0100 |
commit | 821562b9bc8d1a9033daaae0fd5373498a085054 (patch) | |
tree | f134b67023b8ef5f100fab49fc924249f1f96bfa /src/daemon | |
parent | 30c7c9518440670ca3b627298c4e32885204882f (diff) |
Use pa_read, pa_write and pa_poll instead of system functions
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/cpulimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/cpulimit.c b/src/daemon/cpulimit.c index f5042a75..c1c2a6f6 100644 --- a/src/daemon/cpulimit.c +++ b/src/daemon/cpulimit.c @@ -140,7 +140,7 @@ static void signal_handler(int sig) { write_err("Soft CPU time limit exhausted, terminating.\n"); /* Try a soft cleanup */ - (void) write(the_pipe[1], &c, sizeof(c)); + (void) pa_write(the_pipe[1], &c, sizeof(c), NULL); phase = PHASE_SOFT; reset_cpu_time(CPUTIME_INTERVAL_HARD); |