summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-01-11 08:19:04 +0000
committerdlg <dlg@openbsd.org>2006-01-11 08:19:04 +0000
commit1b33650e181e4878b82bbe941e391cca1ecc57ca (patch)
treeb824b34a79eb3c6f6be28bcf55277db755ee521e /sys
parentadd HARDWARE and HISTORY section; ok jmc@. (diff)
downloadwireguard-openbsd-1b33650e181e4878b82bbe941e391cca1ecc57ca.tar.xz
wireguard-openbsd-1b33650e181e4878b82bbe941e391cca1ecc57ca.zip
make the timeout printf a debug message
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/nviic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/nviic.c b/sys/dev/pci/nviic.c
index 079eee4a741..2a0e3f4b1f6 100644
--- a/sys/dev/pci/nviic.c
+++ b/sys/dev/pci/nviic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nviic.c,v 1.2 2006/01/09 00:43:23 dlg Exp $ */
+/* $OpenBSD: nviic.c,v 1.3 2006/01/11 08:19:04 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -251,7 +251,7 @@ nviic_i2c_exec(void *arg, i2c_op_t op, i2c_addr_t addr,
break;
}
if (i == 0) {
- printf("%s: timeout\n", DEVNAME(sc));
+ DPRINTF("%s: timeout\n", DEVNAME(sc));
return (1);
}