summaryrefslogtreecommitdiffstats
path: root/src/ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.c')
-rw-r--r--src/ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctx.c b/src/ctx.c
index 8fafb32..b33e0e3 100644
--- a/src/ctx.c
+++ b/src/ctx.c
@@ -71,7 +71,7 @@ struct bfs_ctx *bfs_ctx_new(void) {
goto fail;
}
- if (xgettime(&ctx->now) != 0) {
+ if (clock_gettime(CLOCK_REALTIME, &ctx->now) != 0) {
goto fail;
}