if we are exiting due to cpu overload, say so via syslog, too

This commit is contained in:
Lennart Poettering 2008-09-05 03:18:36 +02:00
parent f52fb64313
commit 89ed50750e

View file

@ -167,6 +167,8 @@ static void callback(pa_mainloop_api*m, pa_io_event*e, int fd, pa_io_event_flags
pa_assert(e == io_event);
pa_assert(fd == the_pipe[0]);
pa_log("Recevied request to terminate due to CPU overload.");
pa_read(the_pipe[0], &c, sizeof(c), NULL);
m->quit(m, 1); /* Quit the main loop */
}