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 printf format.
details: https://anonhg.NetBSD.org/src/rev/cf80fe7fccdd
branches: trunk
changeset: 352329:cf80fe7fccdd
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 25 23:58:35 2017 +0000
description:
fix printf format.
diffstat:
sys/dev/pci/vioscsi.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r aee6ddb18806 -r cf80fe7fccdd sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c Sat Mar 25 23:33:11 2017 +0000
+++ b/sys/dev/pci/vioscsi.c Sat Mar 25 23:58:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vioscsi.c,v 1.15 2017/03/25 18:15:31 jdolecek Exp $ */
+/* $NetBSD: vioscsi.c,v 1.16 2017/03/25 23:58:35 christos Exp $ */
/* $OpenBSD: vioscsi.c,v 1.3 2015/03/14 03:38:49 jsg Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.15 2017/03/25 18:15:31 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.16 2017/03/25 23:58:35 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -171,8 +171,8 @@
goto err;
aprint_normal_dev(sc->sc_dev,
- "cmd_per_lun %zu qsize %zu seg_max %zu max_target %zu"
- " max_lun %zu\n",
+ "cmd_per_lun %u qsize %d seg_max %u max_target %hu"
+ " max_lun %u\n",
cmd_per_lun, qsize, seg_max, max_target, max_lun);
if (virtio_child_attach_finish(vsc) != 0)
Home |
Main Index |
Thread Index |
Old Index