diff options
-rw-r--r-- | src/libudev/libudev-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index 84824c9f37..cd94b7edff 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -1456,7 +1456,7 @@ _public_ int udev_device_set_sysattr_value(struct udev_device *udev_device, cons else value_len = strlen(value); - strscpyl(path, sizeof(path), udev_device_get_syspath(dev), "/", sysattr, NULL); + util_strscpyl(path, sizeof(path), udev_device_get_syspath(dev), "/", sysattr, NULL); if (lstat(path, &statbuf) != 0) { udev_list_entry_add(&dev->sysattr_value_list, sysattr, NULL); ret = -ENXIO; |