udev: move string copy functions to shared/

This commit is contained in:
Kay Sievers
2013-01-09 19:06:46 +01:00
parent 0908dd2fd5
commit d5a89d7dc1
29 changed files with 287 additions and 238 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
rules = udev_rules_new(udev, 1);
util_strscpyl(syspath, sizeof(syspath), "/sys", devpath, NULL);
strscpyl(syspath, sizeof(syspath), "/sys", devpath, NULL);
dev = udev_device_new_from_syspath(udev, syspath);
if (dev == NULL) {
log_debug("unknown device '%s'\n", devpath);