From: ratchov Date: Sun, 10 Aug 2014 10:25:04 +0000 (+0000) Subject: initialize mmcpos, found by guenther X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c270baf3b97702cf70dc630624de8131f5aee83c;p=openbsd initialize mmcpos, found by guenther --- 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) {