File use-open_device_tree-in-sysfs-wrapper.patch of Package sblim-gather
diff -rupN sblim-gather-2.1.6/plugin/sysfswrapper.c sblim-gather-2.1.6-s390x/plugin/sysfswrapper.c
--- sblim-gather-2.1.6/plugin/sysfswrapper.c 2007-02-15 16:24:25.000000000 +0000
+++ sblim-gather-2.1.6-s390x/plugin/sysfswrapper.c 2010-03-19 07:08:00.000000000 +0000
@@ -65,7 +65,7 @@ void sysfsw_closeDevice(sysfsw_Device* d
}
sysfsw_Device* sysfsw_openDeviceTree(const char* devicePath) {
- return sysfs_open_device_path(devicePath);
+ return sysfs_open_device_tree(devicePath);
}
sysfsw_DeviceList* sysfsw_getDeviceList(sysfsw_Device* device) {