diff --git a/src/daemon/toks_daemon_ioctl.c b/src/daemon/toks_daemon_ioctl.c index 4de06c3..91ec0d2 100644 --- a/src/daemon/toks_daemon_ioctl.c +++ b/src/daemon/toks_daemon_ioctl.c @@ -248,7 +248,7 @@ static int32_t toks_daemon_ioctl_get_token_info(struct toks_daemon_ctx * dctx) tctx = 0; addr = &stctx; size = asize.quad; - tinfo = stctx.toks; + tinfo = stctx.tokens; stctx.allocated = toks_get_driver_atokens(dctx->driver_ctx); stctx.available = toks_get_driver_ntokens(dctx->driver_ctx); diff --git a/src/internal/toksvc_daemon_impl.h b/src/internal/toksvc_daemon_impl.h index 41dcc5c..e6aff95 100644 --- a/src/internal/toksvc_daemon_impl.h +++ b/src/internal/toksvc_daemon_impl.h @@ -43,7 +43,7 @@ struct toks_token_sctx { int32_t available; int32_t tused; int32_t tfree; - struct toks_token_info toks[512]; + struct toks_token_info tokens[512]; }; struct toks_token {