Commit Diff
--- modules/timer.c +++ modules/timer.c @@ -82,7 +82,7 @@ start_timer_process(int *pipe_fd, int timerval_fd) { if (poll(&pfd, 1, INFTIM) > 0) { - (void)memset(buf, '\0', sizeof(buf)); + (void)memset(buf, 0, sizeof(buf)); n = read(pfd.fd, buf, sizeof(buf)); if (n < 0 && errno == EAGAIN) continue;
