From 1d67ec16c44711bbfb50ac7dd8bb2fb6e64a80f3 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 25 Dec 2009 14:47:59 +0100 Subject: fix typo in log message priority handling --- libudev/libudev-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libudev') diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h index 28110d191c..fe1575d60b 100644 --- a/libudev/libudev-private.h +++ b/libudev/libudev-private.h @@ -26,7 +26,7 @@ udev_log_null(struct udev *udev, const char *format, ...) {} #define udev_log_cond(udev, prio, arg...) \ do { \ if (udev_get_log_priority(udev) >= prio) \ - udev_log(udev, LOG_ERR, __FILE__, __LINE__, __FUNCTION__, ## arg); \ + udev_log(udev, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ } while (0) #ifdef ENABLE_LOGGING -- cgit v1.2.3-54-g00ecf