mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
3696d6bd08
Don't just ignore the return of ethtool_nl_connect(). This would also otherwise lead to invalid socket accesses later. Also make ethtool_nl_connect() return negative error values instead of EXIT_FAILURE. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>