public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sysdeps: tst-bz21269: fix test parameter
@ 2023-08-05  0:00 Sam James
  2023-08-05  0:00 ` [PATCH 2/2] sysdeps: tst-bz21269: handle ENOSYS & skip appropriately Sam James
  0 siblings, 1 reply; 4+ messages in thread
From: Sam James @ 2023-08-05  0:00 UTC (permalink / raw)
  To: libc-alpha; +Cc: arsen, Sam James

All callers pass 1 or 0x11 anyway (same meaning according to man page),
but still.

Signed-off-by: Sam James <sam@gentoo.org>
---
 sysdeps/unix/sysv/linux/i386/tst-bz21269.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.41.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-05 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-05  0:00 [PATCH 1/2] sysdeps: tst-bz21269: fix test parameter Sam James
2023-08-05  0:00 ` [PATCH 2/2] sysdeps: tst-bz21269: handle ENOSYS & skip appropriately Sam James
2023-08-05 15:41   ` Gabriel Ravier
2023-08-05 15:53     ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).