From 29c4ec28a8a8d9218765d16d4ecf70c88646f224 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Fri, 2 Dec 2016 18:41:41 +0900 Subject: [PATCH] e_log: fixed bug - DEREF_OF_NULL Change-Id: I02a2728d4a5c40e205929e034f92c215812c0ad9 --- src/bin/e_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_log.h b/src/bin/e_log.h index 00d87b8..bc9f58b 100644 --- a/src/bin/e_log.h +++ b/src/bin/e_log.h @@ -80,7 +80,7 @@ #define ELOG(t, cp, ec) \ do \ { \ - if ((!cp) && (!ec)) \ + if ((!ec) && (!cp)) \ INF("EWL|%20.20s| | |", \ (t)); \ else \ @@ -94,7 +94,7 @@ #define ELOGF(t, f, cp, ec, x...) \ do \ { \ - if ((!cp) && (!ec)) \ + if ((!ec) && (!cp)) \ INF("EWL|%20.20s| | |"f,\ (t), ##x); \ else \ -- 2.7.4