void-packages/srcpkgs/pciutils/patches/fix-musl.patch
2018-07-04 23:39:46 +02:00

11 lines
255 B
Diff

--- lib/sysfs.c
+++ lib/sysfs.c
@@ -133,7 +133,7 @@ sysfs_deref_link(struct pci_dev *d, char *link_name)
sysfs_obj_name(d, "", path);
strcat(path, rel_path);
- return canonicalize_file_name(path);
+ return realpath(path, NULL);
}
static int