aboutsummaryrefslogtreecommitdiffstats
path: root/udev_sysfs.c
diff options
context:
space:
mode:
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 7431dd61..1846a42f 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);