summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
committerphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
commita1bfb618d996ea613b9d640d00950f5ffef739db (patch)
treed373e61301d1dc027cf0572e25d38f7a9f63450d /sys/dev/speaker
parentbf21e6b4e0e85ae08cb5d1f2335da248f52e2d26 (diff)
downloadFreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.zip
FreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.tar.gz
In all such uses of struct buf: 's/b_un.b_addr/b_data/g'
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/spkr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 6ea7032..780b440 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -4,7 +4,7 @@
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
*
- * $Id$
+ * $Id: spkr.c,v 1.29 1997/02/22 09:37:11 peter Exp $
*/
#include "speaker.h"
@@ -502,7 +502,7 @@ spkrwrite(dev, uio, ioflag)
int error;
n = uio->uio_resid;
- cp = spkr_inbuf->b_un.b_addr;
+ cp = spkr_inbuf->b_data;
error = uiomove(cp, n, uio);
if (!error) {
cp[n] = '\0';
OpenPOWER on IntegriCloud