Oops, wrong argument to macro
authorderaadt <deraadt@openbsd.org>
Mon, 11 Dec 2023 02:30:36 +0000 (02:30 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 11 Dec 2023 02:30:36 +0000 (02:30 +0000)
lib/libc/arch/hppa/SYS.h

index 6c0f547..460157c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: SYS.h,v 1.24 2023/12/10 16:45:51 deraadt Exp $        */
+/*     $OpenBSD: SYS.h,v 1.25 2023/12/11 02:30:36 deraadt Exp $        */
 
 /*
  * Copyright (c) 1998-2002 Michael Shalayeff
@@ -120,8 +120,8 @@ SYSENTRY(x)                                 !\
        stw     rp, HPPA_FRAME_ERP(sr0,sp)      !\
        ldil    L%SYSCALLGATE, r1               !\
 97:    ble     4(sr7, r1)                      !\
-       PINSYSCALL(__CONCAT(SYS_,x), 97b)       !\
-        ldi    __CONCAT(SYS_,x), t1            !\
+       PINSYSCALL(__CONCAT(SYS_,y), 97b)       !\
+        ldi    __CONCAT(SYS_,y), t1            !\
        ldw     HPPA_FRAME_ERP(sr0,sp), rp      !\
        bv      r0(rp)                          !\
        nop                                     !\