summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-28 07:21:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-28 07:21:13 +0000
commit8fbb78f3c72475039f2b05c2237097c9a7243a13 (patch)
tree8e3aa7abbc0cfa0a1c01216a90d7a295a651e2a3 /sys/arch/hppa
parentf96b99657e8f46b88f8c52fda352a841b83ee416 (diff)
do not use MID_ZERO! then file(1) does not work
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index e2fae705fda..4cfbe355017 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.35 2002/03/28 07:02:27 deraadt Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.36 2002/03/28 07:21:12 deraadt Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -66,7 +66,7 @@ cpu_coredump(p, vp, cred, core)
off_t off;
int error;
- CORE_SETMAGIC(*core, COREMAGIC, MID_ZERO, 0);
+ CORE_SETMAGIC(*core, COREMAGIC, MID_HPPA, 0);
core->c_hdrsize = ALIGN(sizeof(*core));
core->c_seghdrsize = ALIGN(sizeof(cseg));
core->c_cpusize = sizeof(md_core);