From: Kay Sievers Date: Tue, 8 Nov 2011 20:59:27 +0000 (+0100) Subject: libudev: print log_fn address instead of ctx when setting logging function X-Git-Tag: 176~68 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842ee61c43ad722412f9b5658619b6e81c1fe33c;p=systemd libudev: print log_fn address instead of ctx when setting logging function Patch from Jiri Pirko for libabc. --- 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); } /**