summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/lib/libudev.c')
-rw-r--r--udev/lib/libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c
index c698be6e46..511054a01a 100644
--- a/udev/lib/libudev.c
+++ b/udev/lib/libudev.c
@@ -198,7 +198,7 @@ struct udev *udev_new(void)
}
if (strcasecmp(key, "udev_log") == 0) {
- udev->log_priority = util_log_priority(val);
+ udev_set_log_priority(udev, util_log_priority(val));
continue;
}
if (strcasecmp(key, "udev_root") == 0) {