From 61819c0e3e1e76c78248e640b7438d5ece7be028 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Jan 2016 16:50:20 -0600 Subject: [PATCH] Fix a typo in last commit that was not noticed until CONFIG_SIG_EVTHREAD was enabled --- sched/timer/timer_create.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sched/timer/timer_create.c b/sched/timer/timer_create.c index 33d1e01874..9f73875a17 100644 --- a/sched/timer/timer_create.c +++ b/sched/timer/timer_create.c @@ -218,13 +218,13 @@ int timer_create(clockid_t clockid, FAR struct sigevent *evp, FAR timer_t *timer * timer ID." */ - ret->pt_event.sigev_notify = SIGEV_SIGNAL; - ret->pt_event.sigev_signo = SIGALRM; - ret->pt_event.sigev_value.sival_ptr = ret; + ret->pt_event.sigev_notify = SIGEV_SIGNAL; + ret->pt_event.sigev_signo = SIGALRM; + ret->pt_event.sigev_value.sival_ptr = ret; #ifdef CONFIG_SIG_EVTHREAD - ret->pt_event.sigev_value.sigev_notify_function = NULL; - ret->pt_event.sigev_value.sigev_notify_attributes = NULL; + ret->pt_event.sigev_notify_function = NULL; + ret->pt_event.sigev_notify_attributes = NULL; #endif }