From 2a4e4619f34a742e36693e589e0431347a72979b Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 13 十月 2020 17:36:32 +0800
Subject: [PATCH] update

---
 src/queue/mm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/queue/mm.c b/src/queue/mm.c
index 39aca9e..f09fbab 100644
--- a/src/queue/mm.c
+++ b/src/queue/mm.c
@@ -402,13 +402,13 @@
 
   
   if(shmctl(shmid, IPC_STAT, &shmid_ds) == 0) {
-    //LoggerFactory::getLogger().debug("shm_nattch=%d\n", shmid_ds.shm_nattch);
+    //LoggerFactory::getLogger()->debug("shm_nattch=%d\n", shmid_ds.shm_nattch);
     if(shmid_ds.shm_nattch == 0) {
       //remove shared memery
        if (shmctl(shmid, IPC_RMID, 0) == -1)
         err_exit(errno, "mm_destroy shmctl IPC_RMID");
        else 
-         LoggerFactory::getLogger().debug("shared memory destroy\n");
+         LoggerFactory::getLogger()->debug("shared memory destroy\n");
 
        SemUtil::inc(mutex);
        SemUtil::remove(mutex);

--
Gitblit v1.8.0