[LTP] [PATCH 1/2] sctputil.h: Fix some formatting

Cyril Hrubis chrubis@suse.cz
Thu Feb 17 10:45:41 CET 2022


Hi!
> +	if (sk == -1)
> +		tst_brkm(TBROK, tst_exit, "socket: %s", strerror(errno));
> +
>  	return sk;
>  }

Also one more thing, we can just do TBROK | TERRNO instead of the
strerror() as well.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list