summaryrefslogtreecommitdiff
path: root/udev-remove.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-04-01 00:59:58 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:13 -0700
commit9b28a52a0ac9b7993c932bbfe9d86dfc814be218 (patch)
tree804f4ed19ff4849415b074771c42e5fec7142b14 /udev-remove.c
parentbbbe503ec1a5623a5a8abd003f46fdd8c3581054 (diff)
[PATCH] DEVPATH for netdev
Here we change the DEVPATH for netdev's in the environment of the dev.d/ scripts to the name the device is renamed to. The original name doesn't exist in the kernel after rename.
Diffstat (limited to 'udev-remove.c')
-rw-r--r--udev-remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-remove.c b/udev-remove.c
index c838f15ce3..27ff5bc0a2 100644
--- a/udev-remove.c
+++ b/udev-remove.c
@@ -148,7 +148,7 @@ int udev_remove_device(char *path, char *subsystem)
dbg("name='%s'", dev.name);
dev.type = get_device_type(path, subsystem);
- dev_d_send(&dev, subsystem);
+ dev_d_send(&dev, subsystem, path);
udevdb_delete_dev(path);
if (dev.type == 'b' || dev.type == 'c')