Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix format string.
details: https://anonhg.NetBSD.org/src/rev/25e9f060854b
branches: trunk
changeset: 340823:25e9f060854b
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Oct 03 15:22:14 2015 +0000
description:
Fix format string.
diffstat:
sys/dev/pci/pci_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be2b54ac8d5b -r 25e9f060854b sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Sat Oct 03 09:31:29 2015 +0000
+++ b/sys/dev/pci/pci_subr.c Sat Oct 03 15:22:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.136 2015/10/02 07:04:17 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.137 2015/10/03 15:22:14 joerg Exp $ */
/*
* Copyright (c) 1997 Zubin D. Dittia. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.136 2015/10/02 07:04:17 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.137 2015/10/03 15:22:14 joerg Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -2715,7 +2715,7 @@
if (j != 0)
entry >>= 16;
entry &= 0xffff;
- printf(" TPH ST Table Entry (%d): 0x%04hx\n",
+ printf(" TPH ST Table Entry (%d): 0x%04"PRIx32"\n",
i + j, entry);
}
}
Home |
Main Index |
Thread Index |
Old Index