chiark / gitweb /
udevd: do not use syslog if --verbose (debugging) is used
[elogind.git] / udevtest.c
index 292a94916e705e079ab46e33d8a42bea84fe1ff4..418d43de14369a999c2423af5d13cad5727accb2 100644 (file)
@@ -44,8 +44,7 @@ void log_message (int priority, const char *format, ...)
        va_start(args, format);
        vprintf(format, args);
        va_end(args);
-       if (format[strlen(format)-1] != '\n')
-               printf("\n");
+       printf("\n");
 }
 #endif