summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udevtest.c b/udevtest.c
index 292a94916e..418d43de14 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -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