chiark / gitweb /
build-sys: add one more Makefile symlink
[elogind.git] / src / udev / udevadm-util.c
index 37e80c31df048d628549e0876c458cbb0382f1b2..3f0e45e26c9940793310e3971c13cc40c0142dc6 100644 (file)
@@ -25,7 +25,7 @@ struct udev_device *find_device(struct udev *udev,
         assert(id);
 
         if (prefix && !startswith(id, prefix))
-                id = strappenda(prefix, id);
+                id = strjoina(prefix, id);
 
         if (startswith(id, "/dev/")) {
                 struct stat statbuf;