diff options
Diffstat (limited to 'sys/arch/sparc64/dev/vdsp.c')
-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 |