diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/timer.c b/libglusterfs/src/timer.c index 3e39231e0..433eeb7df 100644 --- a/libglusterfs/src/timer.c +++ b/libglusterfs/src/timer.c @@ -220,8 +220,8 @@ gf_timer_registry_init (glusterfs_ctx_t *ctx) reg->stale.next = ®->stale; reg->stale.prev = ®->stale; - pthread_create (®->th, NULL, gf_timer_proc, ctx); ctx->timer = reg; + pthread_create (®->th, NULL, gf_timer_proc, ctx); } out: return ctx->timer; |