summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/triton/timer.c')
-rw-r--r--accel-pptpd/triton/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/triton/timer.c b/accel-pptpd/triton/timer.c
index d6be1e42..4e37754c 100644
--- a/accel-pptpd/triton/timer.c
+++ b/accel-pptpd/triton/timer.c
@@ -133,7 +133,7 @@ int __export triton_timer_add(struct triton_context_t *ctx, struct triton_timer_
if (ctx)
t->ctx = (struct _triton_context_t *)ctx->tpd;
else
- t->ctx = (struct _triton_context_t *)default_ctx->tpd;
+ t->ctx = (struct _triton_context_t *)default_ctx.tpd;
t->fd = timerfd_create(CLOCK_MONOTONIC, 0);
if (t->fd < 0) {
triton_log_error("timer:timerfd_create: %s", strerror(errno));