On Thu, 2004-01-29 at 20:30, Martin Schlemmer wrote: > --- udev-015/logging.c 2004-01-29 19:20:40.673380296 +0200 > +++ udev-015.log_option/logging.c 2004-01-29 20:02:41.316184344 +0200 > @@ -26,6 +26,7 @@ > #include > #include > > +#include "udev.h" > #include "logging.h" > > > @@ -47,6 +48,9 @@ int log_message(int level, const char *f > { > va_list args; > > + if (0 != strncmp(udev_log_str, "yes", BOOL_SIZE)) This should be: -- + if (0 != strncmp(udev_log_str, UDEV_LOG_DEFAULT, BOOL_SIZE)) -- of course ... > + return 0; > + > if (!logging_init) > init_logging(); > va_start(args, format); -- Martin Schlemmer