summaryrefslogtreecommitdiff
path: root/src/irmd/api_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/api_table.c')
-rw-r--r--src/irmd/api_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/api_table.c b/src/irmd/api_table.c
index 3b80ac91..1c655004 100644
--- a/src/irmd/api_table.c
+++ b/src/irmd/api_table.c
@@ -167,7 +167,7 @@ int api_entry_sleep(struct api_entry * e)
e->re = NULL;
- clock_gettime(CLOCK_REALTIME, &now);
+ clock_gettime(PTHREAD_COND_CLOCK, &now);
ts_add(&now, &timeout, &dl);