X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibudev%2Flibudev-device.c;h=9863901a33ac4f73f3584f0837c55425b1009c07;hb=3486cb6cfa3d32a95c0daf02c7510fdf372507bf;hp=d5206aa804d869d24a1511d0140a4dcfc8270eb0;hpb=71ef8b3ac49fd8b5cff36ee7efc945a751ab9a09;p=elogind.git diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index d5206aa80..9863901a3 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -1936,7 +1936,7 @@ int udev_device_rename(struct udev_device *udev_device, const char *name) if (!dirname) return -ENOMEM; - new_syspath = strappenda(dirname, "/", name); + new_syspath = strjoina(dirname, "/", name); r = udev_device_set_syspath(udev_device, new_syspath); if (r < 0)