Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci %hhx -> %x



details:   https://anonhg.NetBSD.org/src/rev/157432b9fdac
branches:  trunk
changeset: 1029235:157432b9fdac
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Dec 28 09:19:02 2021 +0000

description:
%hhx -> %x

diffstat:

 sys/dev/pci/pci_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 992853499082 -r 157432b9fdac sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Tue Dec 28 09:16:05 2021 +0000
+++ b/sys/dev/pci/pci_subr.c    Tue Dec 28 09:19:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.234 2021/12/28 09:16:05 msaitoh Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.235 2021/12/28 09:19:02 msaitoh 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.234 2021/12/28 09:16:05 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.235 2021/12/28 09:19:02 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -1856,7 +1856,7 @@
        const char *deemphasis;
 
        if (val >= __arraycount(pcie_link_compliance_preset_deemphasis)) {
-               printf("unknown value (0x%hhx)", val);
+               printf("unknown value (0x%x)", val);
                return;
        }
 



Home | Main Index | Thread Index | Old Index