[PATCH] fix spurious valgrind warning in udev.

This commit is contained in:
greg@kroah.com 2004-12-02 22:14:57 -08:00 committed by Greg KH
parent 67aca2c509
commit aa8666f77b

1
udev.c
View file

@ -108,6 +108,7 @@ int main(int argc, char *argv[], char *envp[])
udev_init_config();
/* set signal handlers */
memset(&act, 0x00, sizeof(act));
act.sa_handler = (void (*) (int))sig_handler;
sigemptyset (&act.sa_mask);
act.sa_flags = 0;