]> granicus.if.org Git - strace/commit
tests/futex: add support to sprintrc for return codes other than 0 and -1
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 2 Sep 2016 15:27:18 +0000 (18:27 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 2 Sep 2016 17:21:14 +0000 (17:21 +0000)
commit8bb9f473e44dc75f3462b9d9753ae3bfa309b1a9
treef04e559fd588d37785924c3140dc29abf947da92
parent243e1a909c01e2c599f0995318f445083825fff0
tests/futex: add support to sprintrc for return codes other than 0 and -1

* tests/futex.c (sprintrc): Print the actual return code provided,
not just "0".  Check snprintf return code.
tests/futex.c