• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revisión6abf935a372bb7698d3d303241b2be30dd164f2a (tree)
Tiempo2010-04-14 19:12:28
AutorChuck Tuffli <ctuffli@gmai...>
CommiterChih-Wei Huang

Log Message

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.

Cambiar Resumen

Diferencia incremental

--- a/init/devices.c
+++ b/init/devices.c
@@ -310,7 +310,7 @@ static void make_device(const char *path, int block, int major, int minor)
310310 chown(path, uid, gid);
311311 }
312312
313-#ifdef LOG_UEVENTS
313+#if LOG_UEVENTS
314314
315315 static inline suseconds_t get_usecs(void)
316316 {