From 26dbc87aac8d117bf0928eb2124ecc91e512e20f Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sun, 27 Mar 2016 14:22:37 +0200 Subject: [PATCH] core: mem/shm - use module stats fields for init of managers --- mem/shm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mem/shm.c b/mem/shm.c index 94a99150e91..e4f4ad6f173 100644 --- a/mem/shm.c +++ b/mem/shm.c @@ -221,8 +221,8 @@ int shm_init_api(sr_shm_api_t *ap) _shm_root.xavailable = ap->xavailable; _shm_root.xsums = ap->xsums; _shm_root.xdestroy = ap->xdestroy; - _shm_root.xstats = ap->xstats; - _shm_root.xfstats = ap->xfstats; + _shm_root.xmodstats = ap->xmodstats; + _shm_root.xfmodstats = ap->xfmodstats; return 0; }