diff --git a/sys/arch/sun3/sun3/trap.c b/sys/arch/sun3/sun3/trap.c index a905ba26b5f0..5f690593a011 100644 --- a/sys/arch/sun3/sun3/trap.c +++ b/sys/arch/sun3/sun3/trap.c @@ -550,7 +550,7 @@ syscall(code, frame) /* XXX don't do this for sun_sigreturn, as there's no XXX stored pc on the stack to skip, the argument follows XXX the syscall number without a gap. */ - if (code != SYS_sigreturn) + if (code != SUN_SYS_sigreturn) { frame.f_regs[SP] += sizeof (int); /* remember that we adjusted the SP, might have to undo