system/corennnnn
リビジョン | 6abf935a372bb7698d3d303241b2be30dd164f2a (tree) |
---|---|
日時 | 2010-04-14 19:12:28 |
作者 | Chuck Tuffli <ctuffli@gmai...> |
コミッター | Chih-Wei Huang |
Fix incorrect check for LOG_UEVENTS
LOG_UEVENTS is a boolean value as defined in system/core/init/init.h.
Therefore, code should use an #if check and not an #ifdef check as the
macro will always be defined.
@@ -310,7 +310,7 @@ static void make_device(const char *path, int block, int major, int minor) | ||
310 | 310 | chown(path, uid, gid); |
311 | 311 | } |
312 | 312 | |
313 | -#ifdef LOG_UEVENTS | |
313 | +#if LOG_UEVENTS | |
314 | 314 | |
315 | 315 | static inline suseconds_t get_usecs(void) |
316 | 316 | { |