From 842ee61c43ad722412f9b5658619b6e81c1fe33c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 8 Nov 2011 21:59:27 +0100 Subject: [PATCH] libudev: print log_fn address instead of ctx when setting logging function Patch from Jiri Pirko for libabc. --- libudev/libudev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libudev/libudev.c b/libudev/libudev.c index 165c3698..3b3a8e9a 100644 --- a/libudev/libudev.c +++ b/libudev/libudev.c @@ -333,7 +333,7 @@ UDEV_EXPORT void udev_set_log_fn(struct udev *udev, const char *format, va_list args)) { udev->log_fn = log_fn; - info(udev, "custom logging function %p registered\n", udev); + info(udev, "custom logging function %p registered\n", log_fn); } /** -- 2.39.5