diff options
author | 2000-10-01 00:51:20 +0000 | |
---|---|---|
committer | 2000-10-01 00:51:20 +0000 | |
commit | 49b02c763662bb28c1cfd87cea526e0fe02bcbd1 (patch) | |
tree | 382f5cf8ee94a13933abc87f1159939a70ca213c | |
parent | Complete raidframe support, support was incomplete before. Not known (diff) | |
download | wireguard-openbsd-49b02c763662bb28c1cfd87cea526e0fe02bcbd1.tar.xz wireguard-openbsd-49b02c763662bb28c1cfd87cea526e0fe02bcbd1.zip |
Fix some very serious cut and paste errors in this code.
-rw-r--r-- | libexec/ld.so/powerpc/syscall.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/powerpc/syscall.h b/libexec/ld.so/powerpc/syscall.h index 2c5780f0274..cd7a8d6705a 100644 --- a/libexec/ld.so/powerpc/syscall.h +++ b/libexec/ld.so/powerpc/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.2 2000/08/25 03:36:38 rahnds Exp $ */ +/* $OpenBSD: syscall.h,v 1.3 2000/10/01 00:51:20 rahnds Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -171,7 +171,7 @@ _dl_munmap (const void* addr, unsigned int len) "li 3,-1\n\t" "1:" : "=r" (status) - : "r" (SYS_read), "r" (addr), "r" (len) + : "r" (SYS_munmap), "r" (addr), "r" (len) : "0", "3", "4"); return status; } @@ -190,7 +190,7 @@ _dl_mprotect (const void *addr, int size, int prot) "li 3,-1\n\t" "1:" : "=r" (status) - : "r" (SYS_read), "r" (addr), "r" (size), "r" (prot) + : "r" (SYS_mprotect), "r" (addr), "r" (size), "r" (prot) : "0", "3", "4", "5"); return status; } |