summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi_id.c
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/scsi_id/scsi_id.c
parent119f66fc36b4f5164fb4a9ece247938e97609a05 (diff)
move syslog wrapper to libudev
Diffstat (limited to 'extras/scsi_id/scsi_id.c')
-rw-r--r--extras/scsi_id/scsi_id.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index 213a267afa..7cf2f3765d 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -27,7 +27,8 @@
#include <getopt.h>
#include <sys/stat.h>
-#include "../../udev/udev.h"
+#include "libudev.h"
+#include "libudev-private.h"
#include "scsi_id.h"
static const struct option options[] = {
@@ -613,7 +614,7 @@ int main(int argc, char **argv)
if (udev == NULL)
goto exit;
- logging_init("scsi_id");
+ udev_log_init("scsi_id");
udev_set_log_fn(udev, log_fn);
/*
@@ -649,6 +650,6 @@ int main(int argc, char **argv)
exit:
udev_unref(udev);
- logging_close();
+ udev_log_close();
return retval;
}