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 printf format.
details: https://anonhg.NetBSD.org/src/rev/a8a243486b0e
branches: trunk
changeset: 320787:a8a243486b0e
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 19 18:30:28 2018 +0000
description:
fix printf format.
diffstat:
sys/arch/aarch64/aarch64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2f164cfdae80 -r a8a243486b0e sys/arch/aarch64/aarch64/trap.c
--- a/sys/arch/aarch64/aarch64/trap.c Thu Jul 19 18:27:26 2018 +0000
+++ b/sys/arch/aarch64/aarch64/trap.c Thu Jul 19 18:30:28 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.6 2018/07/19 18:27:26 christos Exp $ */
+/* $NetBSD: trap.c,v 1.7 2018/07/19 18:30:28 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.6 2018/07/19 18:27:26 christos Exp $");
+__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.7 2018/07/19 18:30:28 christos Exp $");
#include "opt_arm_intr_impl.h"
#include "opt_compat_netbsd32.h"
@@ -454,7 +454,7 @@
printf("trapframe %p\n", tf);
for (size_t i = 0; i < __arraycount(r->r_reg); i++) {
- printf(" r%.2zu %#018%s" PRIx64, i, r->r_reg[i],
+ printf(" r%.2zu %#018" PRIx64 "%c", i, r->r_reg[i],
" \n"[i && (i & 1) == 0]);
}
Home |
Main Index |
Thread Index |
Old Index