From c270baf3b97702cf70dc630624de8131f5aee83c Mon Sep 17 00:00:00 2001 From: ratchov Date: Sun, 10 Aug 2014 10:25:04 +0000 Subject: [PATCH] initialize mmcpos, found by guenther --- usr.bin/aucat/wav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c index b89ba177f9c..36c36d2abe9 100644 --- a/usr.bin/aucat/wav.c +++ b/usr.bin/aucat/wav.c @@ -913,7 +913,7 @@ wav_new_out(struct fileops *ops, struct dev *dev, } f->mode = mode; f->pstate = WAV_CFG; - f->endpos = f->startpos = 0; + f->mmcpos = f->endpos = f->startpos = 0; f->next = wav_list; wav_list = f; if (hdr == HDR_WAV) { -- 2.20.1