summaryrefslogtreecommitdiff
path: root/udev_sysfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-19 09:56:53 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-19 09:56:53 +0100
commiteb5b86405b14ca2ac2508f9dec9862cc57110131 (patch)
tree5b2e7b2eb4d0dc29242e87c40bf4ad47d848c915 /udev_sysfs.c
parent3045132a0df944c33f459f4e8cafdc6b84800174 (diff)
update %n on netif name change
Diffstat (limited to 'udev_sysfs.c')
-rw-r--r--udev_sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/udev_sysfs.c b/udev_sysfs.c
index 7431dd6111..1846a42f6a 100644
--- a/udev_sysfs.c
+++ b/udev_sysfs.c
@@ -92,7 +92,6 @@ void sysfs_device_set_values(struct sysfs_device *dev, const char *devpath,
pos = strrchr(dev->devpath, '/');
if (pos == NULL)
return;
-
strlcpy(dev->kernel, &pos[1], sizeof(dev->kernel));
dbg("kernel='%s'", dev->kernel);