Messages in this thread | | | Subject | Re: [ANNOUNCE] udev 015 release | From | Martin Schlemmer <> | Date | Fri, 30 Jan 2004 06:41:27 +0200 |
| |
On Thu, 2004-01-29 at 20:30, Martin Schlemmer wrote:
<snip>
> --- 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 <unistd.h> > #include <syslog.h> > > +#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 [unhandled content-type:application/pgp-signature] | |