X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fhello%2Fhello.c;h=e8eb78efc93adc2779f681825aca79e95adec909;hb=1ea11eab9f65504b2d217ef16f53f52ff941c630;hp=9cbe149bc7465fc09b27b5b36ad4ea5bcbff1d7b;hpb=b35d179d7be2ab0cb4a9c698b86d78928089fc39;p=lttng-ust.git diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 9cbe149b..e8eb78ef 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -40,6 +40,7 @@ int init_int_handler(void) int result; struct sigaction act; + memset(&act, 0, sizeof(act)); result = sigemptyset(&act.sa_mask); if (result == -1) { perror("sigemptyset");