chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] add ability to install udevtest to Makefile
[elogind.git]
/
udev-remove.c
diff --git
a/udev-remove.c
b/udev-remove.c
index c5de6c823fc8d938a2eb35e55c4da22126b588ac..c21938fae77497843abe789c3743b87a5103c89c 100644
(file)
--- a/
udev-remove.c
+++ b/
udev-remove.c
@@
-31,9
+31,9
@@
#include "udev.h"
#include "udev_version.h"
#include "udev_dbus.h"
#include "udev.h"
#include "udev_version.h"
#include "udev_dbus.h"
+#include "logging.h"
#include "namedev.h"
#include "udevdb.h"
#include "namedev.h"
#include "udevdb.h"
-#include "libsysfs/libsysfs.h"
static int delete_path(char *path)
{
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));
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'",
retval = unlink(filename);
if (retval) {
dbg("unlink(%s) failed with error '%s'",