mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
e2a8d85916
The address sysfs attribute might not be present on some older kernel levels. Read the device link instead using readlink() to obtain the address. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>