Fix ifdef for debug logging.
authorRafal Krypa <r.krypa@samsung.com>
Wed, 27 Mar 2013 18:04:29 +0000 (19:04 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 16 Apr 2013 12:55:00 +0000 (14:55 +0200)
[Issue#]       N/A
[Bug]          Even if enabled in cmake, debug logs doesn't work.
[Cause]        Typo in ifdef in code.
[Solution]     Correct the typo.
[Verification] Build with debug logs enabled and check if they are printed.

Change-Id: Id2d199c338502fcf658691eafebc7772ef28f2a4

src/privilege-control.c

index f07befe..ad8d603 100644 (file)
@@ -76,7 +76,7 @@ static int set_smack_for_wrt(const char* widget_id);
 #endif // LOG_TAG
 
 // conditional log macro for dlogutil (debug)
-#ifdef DDLOG_DEBUG_ENABLED
+#ifdef DLOG_DEBUG_ENABLED
 #define C_LOGD(...) LOGD(__VA_ARGS__)
 #else
 #define C_LOGD(...) do { } while(0)