X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fhello%2Fhello.c;h=e8eb78efc93adc2779f681825aca79e95adec909;hb=a10cfdbdf6ed789bc14a04a883bffaf3df2b6959;hp=9cbe149bc7465fc09b27b5b36ad4ea5bcbff1d7b;hpb=513fc97ee8790f552a761f6d99926a567779d4bc;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");