Re: [ANNOUNCE] udev 015 release

Martin Schlemmer
2004-01-30T04:41:29Z

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]