diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-11-08 17:51:59 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-11-08 17:51:59 +0100 |
commit | 225cb03bd851adc6d269b13bdf2b1bfded2b96b9 (patch) | |
tree | 41b8b7e7042662172d545b4e29e7594411740fa9 /udevd.c | |
parent | 01ac7d96fa65e83c71d5bba40633e813e9b4015b (diff) |
udevadm: merge all udev tools into a single binary
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -76,17 +76,14 @@ void log_message(int priority, const char *format, ...) if (priority > udev_log_priority) return; + va_start(args, format); if (verbose) { printf("[%d] ", (int) getpid()); - va_start(args, format); vprintf(format, args); - va_end(args); printf("\n"); - } else { - va_start(args, format); + } else vsyslog(priority, format, args); - va_end(args); - } + va_end(args); } #endif |