summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/timer.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-12-24 20:31:28 +0300
committerDmitry Kozlov <xeb@mail.ru>2010-12-24 20:31:28 +0300
commit88db624127e11d4a1d1000a5ebcfb6757a05f3a4 (patch)
tree27c4d606175d36bda0f323fd8bc090a667132244 /accel-pptpd/triton/timer.c
parent59f691793e9270026214abffceb06f64d365fee3 (diff)
downloadaccel-ppp-88db624127e11d4a1d1000a5ebcfb6757a05f3a4.tar.gz
accel-ppp-88db624127e11d4a1d1000a5ebcfb6757a05f3a4.zip
cli: show cpu and memory utilization in statistics
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));