summaryrefslogtreecommitdiff
path: root/udev-remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-remove.c')
-rw-r--r--udev-remove.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/udev-remove.c b/udev-remove.c
index cd917af193..29063efb0d 100644
--- a/udev-remove.c
+++ b/udev-remove.c
@@ -31,6 +31,7 @@
#include "udev.h"
#include "udev_version.h"
#include "namedev.h"
+#include "udevdb.h"
#include "libsysfs/libsysfs.h"
@@ -80,9 +81,10 @@ int udev_remove_device(char *device, char *subsystem)
goto exit;
}
+ udevdb_delete_udevice(name);
+
return delete_node(name);
exit:
return retval;
}
-