summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c4
-rw-r--r--sys/arch/powerpc/powerpc/vm_machdep.c6
2 files changed, 5 insertions, 5 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);
diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c
index adc4f9cdb9f..530ef399799 100644
--- a/sys/arch/powerpc/powerpc/vm_machdep.c
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.32 2002/03/14 23:51:47 drahn Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.33 2002/03/28 07:21:12 deraadt Exp $ */
/* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */
/*
@@ -204,14 +204,14 @@ cpu_coredump(p, vp, cred, chdr)
struct md_coredump md_core;
int error;
- CORE_SETMAGIC(*chdr, COREMAGIC, MID_ZERO, 0);
+ CORE_SETMAGIC(*chdr, COREMAGIC, MID_HPPA, 0);
chdr->c_hdrsize = ALIGN(sizeof *chdr);
chdr->c_seghdrsize = ALIGN(sizeof cseg);
chdr->c_cpusize = sizeof md_core;
process_read_regs(p, &(md_core.regs));
- CORE_SETMAGIC(cseg, CORESEGMAGIC, MID_ZERO, CORE_CPU);
+ CORE_SETMAGIC(cseg, CORESEGMAGIC, MID_HPPA, CORE_CPU);
cseg.c_addr = 0;
cseg.c_size = chdr->c_cpusize;