summaryrefslogtreecommitdiff
path: root/extras/path_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-09 22:47:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-09 22:47:48 +0200
commit9060b066d9e7aaca9795010ac5fff61018947f87 (patch)
treee79743bf9b075b10e2de962579e63a30ce36202e /extras/path_id
parent119f66fc36b4f5164fb4a9ece247938e97609a05 (diff)
move syslog wrapper to libudev
Diffstat (limited to 'extras/path_id')
-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;
}