#include "cpulimit.h"
#include "util.h"
+#include "log.h"
/* Utilize this much CPU time at maximum */
#define CPUTIME_PERCENT 70
time(&last_time);
if (pipe(the_pipe) < 0) {
- fprintf(stderr, "pipe() failed: %s\n", strerror(errno));
+ pa_log(__FILE__": pipe() failed: %s\n", strerror(errno));
return -1;
}