linux-user/syscall: Fix RF-kill errno (typo in ERFKILL)
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Jul 2021 17:05:43 +0000 (19:05 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 12 Jul 2021 19:53:35 +0000 (21:53 +0200)
Affected targets: alpha, hppa, mips/64, sparc

Fixes: fe8ed7d5794 ("linux-user: Handle ERFKILL and EHWPOISON")
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210708170550.1846343-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c

index 2e826206d2278574712d2b2284670ee000b4eb25..4842a1987b79ac4648f77cacdb3a9fa63eeb05ab 100644 (file)
@@ -629,7 +629,7 @@ static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = {
 #ifdef ENOMSG
     [ENOMSG]            = TARGET_ENOMSG,
 #endif
-#ifdef ERKFILL
+#ifdef ERFKILL
     [ERFKILL]           = TARGET_ERFKILL,
 #endif
 #ifdef EHWPOISON