diff options
author | Omar Polo <op@cvs.openbsd.org> | 2023-03-27 15:35:30 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2023-03-27 15:35:30 +0000 |
commit | dfea0749e512056fe659868bbd733b23c778a106 (patch) | |
tree | 1c735f13b0ef4d62b46f486d607989582466a356 /usr.bin/aucat/afile.c | |
parent | 16a2a1d21970997ff1fb7f6d972f98a84fd10fe8 (diff) |
reading aid: explicitly check for memcmp() != 0; no functional change
ok ratchov@
Diffstat (limited to 'usr.bin/aucat/afile.c')
-rw-r--r-- | usr.bin/aucat/afile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/aucat/afile.c b/usr.bin/aucat/afile.c index 46b434e6b56..6c17746b4d6 100644 --- a/usr.bin/aucat/afile.c +++ b/usr.bin/aucat/afile.c @@ -365,7 +365,7 @@ afile_wav_readhdr(struct afile *f) if (!afile_readhdr(f, &riff, sizeof(struct wav_riff))) return 0; if (memcmp(&riff.id, &wav_id_riff, 4) != 0 || - memcmp(&riff.type, &wav_id_wave, 4)) { + memcmp(&riff.type, &wav_id_wave, 4) != 0) { log_puts(f->path); log_puts(": not a .wav file\n"); return 0; |