projects
/
platform
/
core
/
security
/
libprivilege-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6819450
)
Fix ifdef for debug logging.
author
Rafal Krypa
<r.krypa@samsung.com>
Wed, 27 Mar 2013 18:04:29 +0000
(19:04 +0100)
committer
Krzysztof 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
patch
|
blob
|
history
diff --git
a/src/privilege-control.c
b/src/privilege-control.c
index
f07befe
..
ad8d603
100644
(file)
--- a/
src/privilege-control.c
+++ b/
src/privilege-control.c
@@
-76,7
+76,7
@@
static int set_smack_for_wrt(const char* widget_id);
#endif // LOG_TAG
// conditional log macro for dlogutil (debug)
-#ifdef D
D
LOG_DEBUG_ENABLED
+#ifdef DLOG_DEBUG_ENABLED
#define C_LOGD(...) LOGD(__VA_ARGS__)
#else
#define C_LOGD(...) do { } while(0)