Module Name: src
Committed By: hannken
Date: Sat Feb 15 09:07:14 UTC 2025
Modified Files:
src/sys/dev/pci: if_gem_pci.c
Log Message:
Use "int" format for constant "GEM_TMP_BUFSIZE - 1".
Kernel ALL/amd64 builds again.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/if_gem_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_gem_pci.c
diff -u src/sys/dev/pci/if_gem_pci.c:1.54 src/sys/dev/pci/if_gem_pci.c:1.55
--- src/sys/dev/pci/if_gem_pci.c:1.54 Thu Feb 13 23:52:28 2025
+++ src/sys/dev/pci/if_gem_pci.c Sat Feb 15 09:07:14 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gem_pci.c,v 1.54 2025/02/13 23:52:28 joe Exp $ */
+/* $NetBSD: if_gem_pci.c,v 1.55 2025/02/15 09:07:14 hannken Exp $ */
/*
*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gem_pci.c,v 1.54 2025/02/13 23:52:28 joe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gem_pci.c,v 1.55 2025/02/15 09:07:14 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -284,7 +284,7 @@ gem_pci_attach(device_t parent, device_t
}
#ifdef GEM_DEBUG
/* PROM dump */
- printf("%s: PROM dump (0x0000 to %04zx)\n",
+ printf("%s: PROM dump (0x0000 to %04x)\n",
device_xname(sc->sc_dev), GEM_TMP_BUFSIZE - 1);
i = 0;
j = 0;