summaryrefslogtreecommitdiff
path: root/extras/path_id/path_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/path_id/path_id.c')
-rw-r--r--extras/path_id/path_id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c
index dbb52bad21..4b57dec0d3 100644
--- a/extras/path_id/path_id.c
+++ b/extras/path_id/path_id.c
@@ -29,7 +29,7 @@
#include <getopt.h>
#include "libudev.h"
-#include "../../udev/udev.h"
+#include "libudev-private.h"
int debug;
@@ -366,7 +366,7 @@ int main(int argc, char **argv)
if (udev == NULL)
goto exit;
- logging_init("path_id");
+ udev_log_init("path_id");
udev_set_log_fn(udev, log_fn);
while (1) {
@@ -465,6 +465,6 @@ out:
udev_device_unref(dev);
exit:
udev_unref(udev);
- logging_close();
+ udev_log_close();
return rc;
}