Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e070846 authored by Chuck Tuffli's avatar Chuck Tuffli Committed by Jean-Baptiste Queru
Browse files

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.
parent 7acf3386
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{