diff options
Diffstat (limited to 'src/afb-hook.c')
-rw-r--r-- | src/afb-hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hook.c b/src/afb-hook.c index a3748342..83ffb5f8 100644 --- a/src/afb-hook.c +++ b/src/afb-hook.c @@ -144,7 +144,7 @@ static unsigned next_hookid = 0; static void init_hookid(struct afb_hookid *hookid) { hookid->id = __atomic_add_fetch(&next_hookid, 1, __ATOMIC_RELAXED); - clock_gettime(CLOCK_MONOTONIC, &hookid->time); + clock_gettime(CLOCK_REALTIME, &hookid->time); } /****************************************************************************** |