summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/arm/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/trap.c b/sys/arm/arm/trap.c
index 22b2a02..6e6d43d 100644
--- a/sys/arm/arm/trap.c
+++ b/sys/arm/arm/trap.c
@@ -943,7 +943,7 @@ syscall(struct thread *td, trapframe_t *frame, u_int32_t insn)
case 0:
#ifdef __ARMEB__
if ((insn & 0x000fffff) == SYS___syscall &&
- (code != SYS_lseek)) {
+ code != SYS_freebsd6_lseek && code != SYS_lseek) {
/*
* 64-bit return, 32-bit syscall. Fixup byte order
*/
OpenPOWER on IntegriCloud