summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2011-05-09 17:32:27 +0000
committerratchov <ratchov@openbsd.org>2011-05-09 17:32:27 +0000
commita7d909bb3630110b0d59e101cef391c204d0b77b (patch)
tree8310d4d45648b3e3661667983d2c08b801b06da6
parentInstalling -> Updating. (diff)
downloadwireguard-openbsd-a7d909bb3630110b0d59e101cef391c204d0b77b.tar.xz
wireguard-openbsd-a7d909bb3630110b0d59e101cef391c204d0b77b.zip
initialize 'pstate' field of the wav structure
-rw-r--r--usr.bin/aucat/wav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c
index ea035f16149..ca51f48cb85 100644
--- a/usr.bin/aucat/wav.c
+++ b/usr.bin/aucat/wav.c
@@ -721,6 +721,7 @@ wav_new_in(struct fileops *ops,
f->rbytes = -1;
f->map = NULL;
}
+ f->pstate = WAV_INIT;
f->mmc = tr;
f->join = join;
f->mode = mode;
@@ -805,6 +806,7 @@ wav_new_out(struct fileops *ops,
f->wbytes = -1;
f->startpos = f->endpos = 0;
}
+ f->pstate = WAV_INIT;
f->mmc = tr;
f->join = join;
f->mode = mode;