summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/**