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.
This commit is contained in:
parent
7acf3386cc
commit
1e070846f8
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ static void make_device(const char *path, int block, int major, int minor)
|
|||
chown(path, uid, gid);
|
||||
}
|
||||
|
||||
#ifdef LOG_UEVENTS
|
||||
#if LOG_UEVENTS
|
||||
|
||||
static inline suseconds_t get_usecs(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue