summaryrefslogtreecommitdiff
path: root/udev/udevadm.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r--udev/udevadm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c
index 178981eb3e..5410f00c02 100644
--- a/udev/udevadm.c
+++ b/udev/udevadm.c
@@ -27,7 +27,7 @@
static bool debug;
-static void log_fn(struct udev *udev, int priority,
+void udev_main_log(struct udev *udev, int priority,
const char *file, int line, const char *fn,
const char *format, va_list args)
{
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
goto out;
udev_log_init("udevadm");
- udev_set_log_fn(udev, log_fn);
+ udev_set_log_fn(udev, udev_main_log);
udev_selinux_init(udev);
for (;;) {