X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-apis.c;h=9b2df3f30f1176d4a9e2fc89afa91ddce4b346d1;hb=c0453c34a58aac8150300ab829149a0ca4d9e5ee;hp=9dcb18098cec5b8de4942d81747e329e4390cc8e;hpb=13549775092afa9215de8468e34f6d194c2fd8db;p=src%2Fapp-framework-binder.git diff --git a/src/afb-apis.c b/src/afb-apis.c index 9dcb1809..9b2df3f3 100644 --- a/src/afb-apis.c +++ b/src/afb-apis.c @@ -311,6 +311,7 @@ static void trapping_handle(struct afb_req req, void(*cb)(struct afb_req)) timerset = 1; /* TODO: check statuses */ sevp.sigev_notify = SIGEV_THREAD_ID; sevp.sigev_signo = SIGALRM; + sevp.sigev_value.sival_ptr = NULL; #if defined(sigev_notify_thread_id) sevp.sigev_notify_thread_id = (pid_t)syscall(SYS_gettid); #else