mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Since commit75e3afb6a0("libdasd: Move get_host_access_count() to libdasd") dasd_get_host_access_count() reports always 0 as the check for unsuccessful execution of util_sys_get_dev_addr() is incorrect. Fix the behaviour by turning the check around. Fixes:75e3afb6a0("libdasd: Move get_host_access_count() to libdasd") Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>