summaryrefslogtreecommitdiff
path: root/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'libudev')
-rw-r--r--libudev/libudev-private.h2
1 files changed, 1 insertions, 1 deletions
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