tests: Fix error reporting on prlimit() call failure6be9f065cb74d8f0a072724a8a2adb12f07cb7d5164/head
commit6be9f065cb74d8f0a072724a8a2adb12f07cb7d5
authorPhilip Withnall <withnall@endlessm.com>
Tue, 10 Jul 2018 14:14:12 +0000 (10 16:14 +0200)
committerPhilip Withnall <withnall@endlessm.com>
Wed, 11 Jul 2018 08:06:06 +0000 (11 10:06 +0200)
tree73d0d1b716bd58119c07bef7acbbeab5ecf5d7b7
parent4a53ed2073fd51f64c945425c0692fbc3958fedb
tests: Fix error reporting on prlimit() call failure

prlimit() returns its error code in errno, not as a return value.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/1044
glib/tests/thread.c