chiark / gitweb /
[PATCH] udevd - kill the lockfile
[elogind.git] / udev-remove.c
index c5de6c823fc8d938a2eb35e55c4da22126b588ac..c21938fae77497843abe789c3743b87a5103c89c 100644 (file)
@@ -31,9 +31,9 @@
 #include "udev.h"
 #include "udev_version.h"
 #include "udev_dbus.h"
+#include "logging.h"
 #include "namedev.h"
 #include "udevdb.h"
-#include "libsysfs/libsysfs.h"
 
 static int delete_path(char *path)
 {
@@ -73,7 +73,7 @@ static int delete_node(struct udevice *dev)
        strncpy(filename, udev_root, sizeof(filename));
        strncat(filename, dev->name, sizeof(filename));
 
-       dbg("unlinking node '%s'", filename);
+       info("removing device node '%s'", filename);
        retval = unlink(filename);
        if (retval) {
                dbg("unlink(%s) failed with error '%s'",