diff options
author | 2003-12-25 18:49:04 +0000 | |
---|---|---|
committer | 2003-12-25 18:49:04 +0000 | |
commit | 556318a874e1ca12bc9af9a04321355a3973118b (patch) | |
tree | d4b0e4cc67319bbdef212ec1f506dff9db536851 /lib/libc/arch/vax/sys | |
parent | must not remove macros vis cmdline after parsinf is done, we will need them (diff) | |
download | wireguard-openbsd-556318a874e1ca12bc9af9a04321355a3973118b.tar.xz wireguard-openbsd-556318a874e1ca12bc9af9a04321355a3973118b.zip |
Use an unsigned comparison against minbrk.
ok deraadt@
Diffstat (limited to 'lib/libc/arch/vax/sys')
-rw-r--r-- | lib/libc/arch/vax/sys/brk.S | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/arch/vax/sys/brk.S b/lib/libc/arch/vax/sys/brk.S index 06307e871dd..d210617e095 100644 --- a/lib/libc/arch/vax/sys/brk.S +++ b/lib/libc/arch/vax/sys/brk.S @@ -29,19 +29,16 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: brk.S,v 1.5 2003/06/02 20:18:33 millert Exp $" + .asciz "$OpenBSD: brk.S,v 1.6 2003/12/25 18:49:07 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" .globl __curbrk .globl minbrk -ENTRY(_brk, 0) - jbr ok - ENTRY(brk, 0) - cmpl 4(ap),minbrk - bgeq ok + cmpl minbrk,4(ap) + blequ ok movl minbrk,4(ap) ok: chmk $ SYS_break |