diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
commit | b3067fd524234e263e58b215d0fb24d414bf1c34 (patch) | |
tree | 5c1576265dded5700ab387af81051fabd39f3396 /sys/arch/hppa | |
parent | 9ee95b4b405b050512cf782b508d774f4601a6b5 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 4b5859a8979..792e27b6b27 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.1 1999/01/01 16:10:29 mickey Exp $ */ +/* $OpenBSD: trap.c,v 1.2 1999/01/11 05:11:22 millert Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -162,7 +162,7 @@ trap(type, frame) ret = vm_fault(map, va, FAULT_TYPE(opcode), FALSE); if (ret == KERN_SUCCESS) break; - panic("trap: vm_fault(%p, %x, %d, %d): %d\n", + panic("trap: vm_fault(%p, %x, %d, %d): %d", map, va, FAULT_TYPE(opcode), 0, ret); break; default: |