summaryrefslogtreecommitdiff
path: root/udev/udevadm.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-12-25 14:47:59 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-12-25 14:47:59 +0100
commit1d67ec16c44711bbfb50ac7dd8bb2fb6e64a80f3 (patch)
tree75b03c53acf41d0b2c813006800ec0894fa213fd /udev/udevadm.c
parent58b533f417307fb66ce11fa8ad4a873c1953ae41 (diff)
fix typo in log message priority handling
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r--udev/udevadm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c
index 3d94215ba9..00c2350d35 100644
--- a/udev/udevadm.c
+++ b/udev/udevadm.c
@@ -35,8 +35,7 @@ static void log_fn(struct udev *udev, int priority,
fprintf(stderr, "%s: ", fn);
vfprintf(stderr, format, args);
} else {
- if (priority <= LOG_ERR)
- vfprintf(stderr, format, args);
+ vfprintf(stderr, format, args);
vsyslog(priority, format, args);
}
}