summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-10-21 19:30:57 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-10-21 19:30:57 +0000
commitc365a158c76fa0c425b372788be56fd4fe9b07f5 (patch)
tree57f8a41ce42f72d49786cbeb1ddc2dce9036e2eb /sys/arch
parentea9e6de3fdeb45b92517bf22164f081a7cab4775 (diff)
Fix thinko in previous.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/vdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c
index 3273746daff..6bcf6e75cd2 100644
--- a/sys/arch/sparc64/dev/vdsp.c
+++ b/sys/arch/sparc64/dev/vdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsp.c,v 1.11 2012/10/21 18:56:00 kettenis Exp $ */
+/* $OpenBSD: vdsp.c,v 1.12 2012/10/21 19:30:56 kettenis Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
@@ -845,7 +845,7 @@ vdsp_sendmsg(struct vdsp_softc *sc, void *msg, size_t len, int dowait)
do {
err = ldc_send_unreliable(lc, msg, len);
- if (dowait) {
+ if (dowait && err == EWOULDBLOCK) {
/*
* Seems like the hypervisor doesn't actually
* generate interrupts for transmit queues, so