1 From c8ecda6251dd4a0dfe074e0a6011211cadeef742 Mon Sep 17 00:00:00 2001
2 From: Sam James <sam@gentoo.org>
3 Date: Fri, 4 Aug 2023 23:58:27 +0100
4 Subject: [PATCH 09/27] sysdeps: tst-bz21269: fix test parameter
6 All callers pass 1 or 0x11 anyway (same meaning according to man page),
9 Reviewed-by: DJ Delorie <dj@redhat.com>
10 Signed-off-by: Sam James <sam@gentoo.org>
11 (cherry picked from commit e0b712dd9183d527aae4506cd39564c14af3bb28)
13 sysdeps/unix/sysv/linux/i386/tst-bz21269.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
17 index 51d4a1b082..f508ef8f16 100644
18 --- a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
19 +++ b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
20 @@ -52,7 +52,7 @@ xset_thread_area (struct user_desc *u_info)
22 xmodify_ldt (int func, const void *ptr, unsigned long bytecount)
24 - TEST_VERIFY_EXIT (syscall (SYS_modify_ldt, 1, ptr, bytecount) == 0);
25 + TEST_VERIFY_EXIT (syscall (SYS_modify_ldt, func, ptr, bytecount) == 0);