about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-04 23:58:27 +0100
committerSam James <sam@gentoo.org>2023-08-16 21:01:37 +0100
commite0b712dd9183d527aae4506cd39564c14af3bb28 (patch)
tree41f73a563f0553d2250fff5ed057c7a2fe89e3e8 /sysdeps/unix/sysv/linux
parent81dcf8b3d136e25ba5a183fbc2343f7179a8afdc (diff)
downloadglibc-e0b712dd9183d527aae4506cd39564c14af3bb28.tar.gz
glibc-e0b712dd9183d527aae4506cd39564c14af3bb28.tar.xz
glibc-e0b712dd9183d527aae4506cd39564c14af3bb28.zip
sysdeps: tst-bz21269: fix test parameter
All callers pass 1 or 0x11 anyway (same meaning according to man page),
but still.

Reviewed-by: DJ Delorie <dj@redhat.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/i386/tst-bz21269.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
index 51d4a1b082..f508ef8f16 100644
--- a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
+++ b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
@@ -52,7 +52,7 @@ xset_thread_area (struct user_desc *u_info)
 static void
 xmodify_ldt (int func, const void *ptr, unsigned long bytecount)
 {
-  TEST_VERIFY_EXIT (syscall (SYS_modify_ldt, 1, ptr, bytecount) == 0);
+  TEST_VERIFY_EXIT (syscall (SYS_modify_ldt, func, ptr, bytecount) == 0);
 }
 
 static int