summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
commit92b229c727e34164a88f59142054d4cdee510f4c (patch)
tree6216926d81f322b4bbb58fe3761295d188bbac6f /udevtest.c
parent3df3c93e2500b0dcf23989171d27c2b04d149407 (diff)
no newline in log messages
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