Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips If we're going to print a number in hex, ...
details: https://anonhg.NetBSD.org/src/rev/fdf31f0a27ce
branches: trunk
changeset: 1021160:fdf31f0a27ce
user: simonb <simonb%NetBSD.org@localhost>
date: Thu May 13 03:41:46 2021 +0000
description:
If we're going to print a number in hex, at least put a 0x in front of it.
diffstat:
sys/arch/mips/mips/mips_fputrap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b588d3ca27af -r fdf31f0a27ce sys/arch/mips/mips/mips_fputrap.c
--- a/sys/arch/mips/mips/mips_fputrap.c Thu May 13 03:37:58 2021 +0000
+++ b/sys/arch/mips/mips/mips_fputrap.c Thu May 13 03:41:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_fputrap.c,v 1.10 2011/02/26 15:41:32 tsutsui Exp $ */
+/* $NetBSD: mips_fputrap.c,v 1.11 2021/05/13 03:41:46 simonb Exp $ */
/*
* Copyright (c) 2004
@@ -47,7 +47,7 @@
ksiginfo_t ksi;
#ifdef FPEMUL_DEBUG
- printf("%s(%x,%#"PRIxREGISTER")\n",
+ printf("%s(%#x,%#"PRIxREGISTER")\n",
__func__, fpustat, l->l_md.md_utf->tf_regs[_R_PC]);
#endif
@@ -64,7 +64,7 @@
ksiginfo_t ksi;
#ifdef FPEMUL_DEBUG
- printf("%s(%x,%#"PRIxREGISTER")\n",
+ printf("%s(%#x,%#"PRIxREGISTER")\n",
__func__, opcode, l->l_md.md_utf->tf_regs[_R_PC]);
#endif
Home |
Main Index |
Thread Index |
Old Index