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 Fix build.



details:   https://anonhg.NetBSD.org/src/rev/2217fa4b3270
branches:  trunk
changeset: 967929:2217fa4b3270
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Dec 27 21:55:51 2019 +0000

description:
Fix build.

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 44746639cf54 -r 2217fa4b3270 sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Fri Dec 27 18:56:47 2019 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Fri Dec 27 21:55:51 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $ */
+/* $NetBSD: cpu.c,v 1.30 2019/12/27 21:55:51 mlelstv Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.30 2019/12/27 21:55:51 mlelstv Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -302,7 +302,8 @@
 
        dfr0 = reg_id_aa64dfr0_el1_read();
 
-       aprint_debug_dev(self, "midr=0x%\n" PRIx32, (uint32_t)ci->ci_id.ac_midr);
+       aprint_debug_dev(self, "midr=0x%" PRIx32 "\n",
+           (uint32_t)ci->ci_id.ac_midr);
        aprint_normal_dev(self, "revID=0x%" PRIx64, id->ac_revidr);
 
        /* ID_AA64DFR0_EL1 */



Home | Main Index | Thread Index | Old Index