Fix always true statement 71/152671/2 accepted/tizen/4.0/unified/20170927.181814 submit/tizen_4.0/20170927.011024 tizen_4.0.IoT.p1_release
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 27 Sep 2017 01:02:29 +0000 (10:02 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 27 Sep 2017 01:03:53 +0000 (10:03 +0900)
Change-Id: Ia7ed847a5755109743f913065c035b7b7bb02830
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/memory/lowmem-limit.c

index 9eb0395690aab92f243d7ea1166f95161140fccc..148393df3c8a153795abb6356d3bda193f7c41ba 100644 (file)
@@ -277,7 +277,7 @@ static bool lowmem_limit_cb(int fd, void *data)
                        _D("fail to get appname");
 
                _E("kill %d (name %s, memory %d) by exceeding the threshold (%d)",
-                   main_pid, appname ? appname : NULL, max_mem, mle->threshold);
+                   main_pid, ret ? NULL : appname, max_mem, mle->threshold);
        } else {
                char *filename;