Commit Diff


commit - 3a16c1a0cf600c6dd35041fbf9ac450d6ff7ce49
commit + 183ace42beda3989346ed6cfbe03304d1ebd56e0
blob - 9c4b6acc8a51cb30fb2256ee75ae8d865d721577
blob + e6d461bbdd960c8c47ee4935bf0f618a86853a6c
--- 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;