diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-21 19:30:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-21 19:30:57 +0000 |
commit | c365a158c76fa0c425b372788be56fd4fe9b07f5 (patch) | |
tree | 57f8a41ce42f72d49786cbeb1ddc2dce9036e2eb /sys | |
parent | ea9e6de3fdeb45b92517bf22164f081a7cab4775 (diff) |
Fix thinko in previous.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/dev/vdsp.c | 4 |
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 |