From 2aeb519ae9b1146c314ffbaf2264d497e0062ff1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Wed, 26 Apr 2023 11:49:08 +0200 Subject: [PATCH] test_enosys: use correct return value for getopt_long MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise option parsing is broken on big endian. Signed-off-by: Thomas Weißschuh --- tests/helpers/test_enosys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/test_enosys.c b/tests/helpers/test_enosys.c index f8e97bee58..f33a16476a 100644 --- a/tests/helpers/test_enosys.c +++ b/tests/helpers/test_enosys.c @@ -72,7 +72,7 @@ const struct syscall syscalls[] = { int main(int argc, char **argv) { - char c; + int c; size_t i; bool found; static const struct option longopts[] = { -- 2.47.2