[LTP] [PATCH v4 4/6] tst_res_: Print error to stderr, with filename and lineno

Cyril Hrubis chrubis@suse.cz
Thu Jul 24 12:14:31 CEST 2025


Hi!
> Or is it just too complicated and we can use argv[1] and argv[2] if argc > 2
> and fallback to __FILE__ and __LINE__ otherwise?

I would just print both in case that argc > 2.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list