summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorOrion Hodson <orion@FreeBSD.org>2003-03-11 15:15:41 +0000
committerOrion Hodson <orion@FreeBSD.org>2003-03-11 15:15:41 +0000
commitd1e327465f89b585ba68b3e840d496808544425c (patch)
tree2c93d11d3dff07b36dd014d219b12c4bf00aff57 /sys
parent581125f5c5a827169179f03d8ce3b8e5f6bc8c32 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pcm/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 5bd5989ffdc5..9b79ee59dbe0 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -860,7 +860,7 @@ chn_setspeed(struct pcm_channel *c, int speed)
r = chn_tryspeed(c, speed);
if (r) {
DEB(printf("Failed to set speed %d falling back to %d\n", speed, oldspeed));
- chn_tryspeed(c, oldspeed);
+ r = chn_tryspeed(c, oldspeed);
}
return r;
}