summaryrefslogtreecommitdiff
path: root/udevsend.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-09 21:18:00 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-09 21:18:00 +0100
commit1aa1e24848903d11780db1ade355be73ad61a937 (patch)
treefb15c937a1a6e9f0197c905cc7af6ee5df8b108c /udevsend.c
parent47fbf3c58260e3fed1078061f8d45e01b0e120f0 (diff)
replace libsysfs
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevsend.c')
-rw-r--r--udevsend.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/udevsend.c b/udevsend.c
index b67df9720b..1b9860baca 100644
--- a/udevsend.c
+++ b/udevsend.c
@@ -33,9 +33,7 @@
#include <linux/stddef.h>
#include "udev.h"
-#include "udev_version.h"
#include "udevd.h"
-#include "logging.h"
/* global variables */
static int sock = -1;
@@ -67,7 +65,7 @@ int main(int argc, char *argv[], char *envp[])
logging_init("udevsend");
#ifdef USE_LOG
- udev_init_config();
+ udev_config_init();
#endif
dbg("version %s", UDEV_VERSION);