tests: fix xgetrlimit output when syscall returns an error
authorEugene Syromyatnikov <evgsyr@gmail.com>
Thu, 21 Feb 2019 15:52:46 +0000 (16:52 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 25 Feb 2019 19:08:05 +0000 (19:08 +0000)
commitf8fd4293668279f7b603937ea03942a17370cbfc
tree0a21a0039b8bec85323ab320f7a923919e89abed
parent8d7a451fa115674049a2a76fba839a5464ef5eb2
tests: fix xgetrlimit output when syscall returns an error

* tests/xgetrlimit.c (main): Expect pointer to rlimit as the second
argument when syscall returns an error.  Use sprintrc().
tests/xgetrlimit.c