]> granicus.if.org Git - strace/commit
tests/futex.c: improve error diagnostics
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 24 Jan 2018 14:54:32 +0000 (09:54 -0500)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Jan 2018 01:55:08 +0000 (01:55 +0000)
commit5e39002c231f1f472c0fef11099f3caaae1cf713
treece376d95892cd1407f4dedc560033183d46998e1
parentfdcfe809830088bd5dea04bc4519e15b607e1e5a
tests/futex.c: improve error diagnostics

* tests/futex.c (futex_error): Add func and line arguments, print them.
(CHECK_FUTEX_GENERIC): Pass __func__ and __LINE__ to futex_error.
tests/futex.c