[LTP] [PATCH] lib: tst_res(): Fix TDEBUG | TERRNO

Petr Vorel pvorel@suse.cz
Wed Aug 5 12:09:01 CEST 2026


Hi Cyril,

> Properly mask the ttype with TTYPE_MASK() when deciding if TDEBUG
> messages should be printed, otherwise any combination of TERRNO etc.
> flags is printed regardless the -D flag.

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Fixes: 018f555a44 ("lib: Add support for TDEBUG tst_res() flag")

Thanks for fixing my bug!

Kind regards,
Petr


More information about the ltp mailing list