Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 KNF
details: https://anonhg.NetBSD.org/src/rev/acdaf602b4b2
branches: trunk
changeset: 359769:acdaf602b4b2
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Feb 25 08:24:36 2018 +0000
description:
KNF
diffstat:
sys/arch/aarch64/aarch64/core_machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r bd961b633438 -r acdaf602b4b2 sys/arch/aarch64/aarch64/core_machdep.c
--- a/sys/arch/aarch64/aarch64/core_machdep.c Sun Feb 25 08:23:09 2018 +0000
+++ b/sys/arch/aarch64/aarch64/core_machdep.c Sun Feb 25 08:24:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.2 2018/02/25 08:23:09 skrll Exp $ */
+/* $NetBSD: core_machdep.c,v 1.3 2018/02/25 08:24:36 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.2 2018/02/25 08:23:09 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_machdep.c,v 1.3 2018/02/25 08:24:36 skrll Exp $");
#include <sys/types.h>
#include <sys/cpu.h>
@@ -57,9 +57,9 @@
if (iocookie == NULL) {
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;
+ chdr->c_hdrsize = ALIGN(sizeof(*chdr));
+ chdr->c_seghdrsize = ALIGN(sizeof(cseg));
+ chdr->c_cpusize = sizeof(md_core);
chdr->c_nseg++;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index