summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-11-08 21:59:27 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-11-08 21:59:27 +0100
commit842ee61c43ad722412f9b5658619b6e81c1fe33c (patch)
tree8d040c83318e7109ccd8ce99735177a2c8591f53
parent6f410b81aa6d588b03ae795c9b76468591ef7efa (diff)
libudev: print log_fn address instead of ctx when setting logging function
Patch from Jiri Pirko <jpirko@redhat.com> for libabc.
-rw-r--r--libudev/libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c
index 165c36984e..3b3a8e9af5 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);
}
/**