summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2013-10-04 07:27:36 +0000
committerbrad <brad@openbsd.org>2013-10-04 07:27:36 +0000
commit6ee14e50f461adbf1e80abd8ef81974c6aff9f85 (patch)
tree22d2d20dcc32b8e2e0fbd070adcd4075a5c040b1 /sys
parenta couple of warning fixes and an RCS marker; ok markus@ (diff)
downloadwireguard-openbsd-6ee14e50f461adbf1e80abd8ef81974c6aff9f85.tar.xz
wireguard-openbsd-6ee14e50f461adbf1e80abd8ef81974c6aff9f85.zip
Fix tuner ioctl TVTUNER_SETFREQ after rev 1.30.
Pointed out by Pedro ok krw@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/bktr/bktr_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c
index 4a03ccb4de4..bbd3087ade2 100644
--- a/sys/dev/pci/bktr/bktr_core.c
+++ b/sys/dev/pci/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_core.c,v 1.30 2013/07/05 02:37:30 brad Exp $ */
+/* $OpenBSD: bktr_core.c,v 1.31 2013/10/04 07:27:36 brad Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -1780,7 +1780,7 @@ tuner_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct pro
temp_mute( bktr, FALSE );
return( EINVAL );
}
- *(unsigned int *)arg = temp;
+ *(unsigned int *)arg = tmp_int;
/* after every channel change, we must restart the MSP34xx */
/* audio chip to reselect NICAM STEREO or MONO audio */