Re: [ANNOUNCE] udev 015 release

From: Martin Schlemmer
Date: Thu Jan 29 2004 - 23:42:45 EST


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

Attachment: signature.asc
Description: This is a digitally signed message part