Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/cherry-xenmp]: src/sys/arch/amd64/amd64 Use appropriate format strings.
details: https://anonhg.NetBSD.org/src/rev/506ca0c5cd71
branches: cherry-xenmp
changeset: 765638:506ca0c5cd71
user: cherry <cherry%NetBSD.org@localhost>
date: Fri Sep 09 08:14:39 2011 +0000
description:
Use appropriate format strings.
diffstat:
sys/arch/amd64/amd64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb191682ccda -r 506ca0c5cd71 sys/arch/amd64/amd64/trap.c
--- a/sys/arch/amd64/amd64/trap.c Sun Sep 04 01:15:13 2011 +0000
+++ b/sys/arch/amd64/amd64/trap.c Fri Sep 09 08:14:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.66 2011/04/03 22:29:25 dyoung Exp $ */
+/* $NetBSD: trap.c,v 1.66.2.1 2011/09/09 08:14:39 cherry Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.66 2011/04/03 22:29:25 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.66.2.1 2011/09/09 08:14:39 cherry Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -733,7 +733,7 @@
(void *)tf->tf_r13, (void *)tf->tf_r14, (void *)tf->tf_r15);
printf("rbp %p rbx %p rax %p\n",
(void *)tf->tf_rbp, (void *)tf->tf_rbx, (void *)tf->tf_rax);
- printf("cs %p ds %p es %p fs %p gs %p ss %p\n",
+ printf("cs %lx ds %lx es %lx fs %lx gs %lx ss %lx\n",
tf->tf_cs & 0xffff, tf->tf_ds & 0xffff, tf->tf_es & 0xffff,
tf->tf_fs & 0xffff, tf->tf_gs & 0xffff, tf->tf_ss & 0xffff);
Home |
Main Index |
Thread Index |
Old Index