summaryrefslogtreecommitdiff
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-23 09:37:44 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-23 09:37:44 +0000
commit8ca321809fd38cee7ed48328bf624ba123eaf050 (patch)
treeb20b484aed588661094a2b1c5bae8672aa261771 /sys/dev/pv/hyperv.c
parent3f8834b6d2efc834f76c7ea7cfc4a80db075b12d (diff)
Disable debugging output
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index 1318d0011e3..fba6c6c5d53 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -1267,7 +1267,7 @@ hv_ring_write(struct hv_ring_data *wrd, struct iovec *iov, int iov_cnt,
hv_ring_avail(wrd, &avail, NULL);
if (avail < datalen) {
- printf("%s: avail %u datalen %u\n", __func__, avail, datalen);
+ DPRINTF("%s: avail %u datalen %u\n", __func__, avail, datalen);
return (EAGAIN);
}
@@ -1401,7 +1401,7 @@ hv_ring_read(struct hv_ring_data *rrd, void *data, uint32_t datalen,
hv_ring_avail(rrd, NULL, &avail);
if (avail < datalen) {
- printf("%s: avail %u datalen %u\n", __func__, avail, datalen);
+ DPRINTF("%s: avail %u datalen %u\n", __func__, avail, datalen);
return (EAGAIN);
}