11 lines
255 B
Diff
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
|