lkml.org 
[lkml]   [2004]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [ANNOUNCE] udev 015 release
    From
    Date
    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]
    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:4.276 / U:0.224 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site