summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/aucat/legacy.c')
-rw-r--r--usr.bin/aucat/legacy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/legacy.c b/usr.bin/aucat/legacy.c
index 5f7a3655137..18e93c1e095 100644
--- a/usr.bin/aucat/legacy.c
+++ b/usr.bin/aucat/legacy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: legacy.c,v 1.9 2010/04/03 17:40:33 ratchov Exp $ */
+/* $OpenBSD: legacy.c,v 1.10 2010/04/03 17:59:17 ratchov Exp $ */
/*
* Copyright (c) 1997 Kenneth Stailey. All rights reserved.
*
@@ -64,7 +64,7 @@ legacy_play(char *dev, char *aufile)
struct sio_par spar, par;
struct aparams apar;
ssize_t rd;
- off_t datasz, dummy;
+ off_t datasz;
char buf[5120];
size_t readsz;
int fd, fmt = FMT_RAW;
@@ -96,7 +96,7 @@ legacy_play(char *dev, char *aufile)
if (read(fd, &chan, sizeof(chan)) == sizeof(chan))
chan = ntohl(chan);
} else if (!strncmp(magic, "RIFF", 4) &&
- wav_readhdr(fd, &apar, &dummy, &datasz, &map)) {
+ wav_readhdr(fd, &apar, &datasz, &map)) {
fmt = FMT_WAV;
}