summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-01-08 05:34:55 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-01-08 05:34:55 +0000
commit8f5ba62f983b3a5415733ebec2999c6653c41e59 (patch)
treeb6e4601e53d07cc8c52f21a75bc56a2954cc13f2 /sys
parent3e57bf5009032886fc1499b87dfe84744f44777f (diff)
Adjust debug printfs after pcitag_t type change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/include/pci_machdep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/include/pci_machdep.h b/sys/arch/octeon/include/pci_machdep.h
index 8bc31a9053e..ae8c85aad32 100644
--- a/sys/arch/octeon/include/pci_machdep.h
+++ b/sys/arch/octeon/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.11 2022/01/06 15:41:53 deraadt Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.12 2022/01/08 05:34:54 visa Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -88,7 +88,7 @@ pci_conf_read_db(void *cookie, pcitag_t tag, int reg,
pcireg_t val;
val = (*(pc)->pc_conf_read)(pc->pc_conf_v, tag, reg);
- printf("%s:%s:%d:pci_conf_read(%lx,%x) = %x\n", file, func, line,
+ printf("%s:%s:%d:pci_conf_read(%llx,%x) = %x\n", file, func, line,
tag, reg, val);
return val;
}
@@ -99,7 +99,7 @@ pci_conf_write_db(void *cookie, pcitag_t tag, int reg, pcireg_t val,
{
struct mips_pci_chipset *pc = cookie;
- printf("%s:%s:%d:pci_conf_write(%lx,%x,%x)\n", file, func, line,
+ printf("%s:%s:%d:pci_conf_write(%llx,%x,%x)\n", file, func, line,
tag, reg, val);
(*(pc)->pc_conf_write)(pc->pc_conf_v, tag, reg, val);
}