Module Name:    src
Committed By:   skrll
Date:           Sun Feb 25 08:23:09 UTC 2018

Modified Files:
        src/sys/arch/aarch64/aarch64: core_machdep.c

Log Message:
Use correct MID_ value


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/aarch64/core_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/aarch64/aarch64/core_machdep.c
diff -u src/sys/arch/aarch64/aarch64/core_machdep.c:1.1 src/sys/arch/aarch64/aarch64/core_machdep.c:1.2
--- src/sys/arch/aarch64/aarch64/core_machdep.c:1.1	Sun Aug 10 05:47:37 2014
+++ src/sys/arch/aarch64/aarch64/core_machdep.c	Sun Feb 25 08:23:09 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: core_machdep.c,v 1.2 2018/02/25 08:23:09 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: core_machdep.c,v 1.1 2014/08/10 05:47:37 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_machdep.c,v 1.2 2018/02/25 08:23:09 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/cpu.h>
@@ -56,7 +56,7 @@ cpu_coredump(struct lwp *l, struct cored
 	int error;
 
 	if (iocookie == NULL) {
-		CORE_SETMAGIC(*chdr, COREMAGIC, MID_POWERPC, 0);
+		CORE_SETMAGIC(*chdr, COREMAGIC, MID_MACHINE, 0);
 		chdr->c_hdrsize = ALIGN(sizeof *chdr);
 		chdr->c_seghdrsize = ALIGN(sizeof cseg);
 		chdr->c_cpusize = sizeof md_core;

Reply via email to