summaryrefslogtreecommitdiff
path: root/udev/udevadm.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r--udev/udevadm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c
index 452489a0c7..3d94215ba9 100644
--- a/udev/udevadm.c
+++ b/udev/udevadm.c
@@ -35,6 +35,8 @@ 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);
vsyslog(priority, format, args);
}
}