diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-03-20 12:20:04 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-03-20 12:20:04 +0000 |
commit | 9ffeb12c7a59d34e138b327c449e3165733b2fd6 (patch) | |
tree | 83a2f5f7c14e4d9835ef3240d7877535c1a91c8c /usr/src/cmd/audio/audioplay/audioplay.c | |
parent | aa83f7866d4ccccbf9e96c81fbcdada05e180700 (diff) | |
parent | fefb716a9c60aee35065c9c8fb74b17ccf5ae303 (diff) | |
download | illumos-joyent-9ffeb12c7a59d34e138b327c449e3165733b2fd6.tar.gz |
[illumos-gate merge]
commit fefb716a9c60aee35065c9c8fb74b17ccf5ae303
10101 audio tools need smatch fixes
Diffstat (limited to 'usr/src/cmd/audio/audioplay/audioplay.c')
-rw-r--r-- | usr/src/cmd/audio/audioplay/audioplay.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/cmd/audio/audioplay/audioplay.c b/usr/src/cmd/audio/audioplay/audioplay.c index 882c4d9087..ad225bb55e 100644 --- a/usr/src/cmd/audio/audioplay/audioplay.c +++ b/usr/src/cmd/audio/audioplay/audioplay.c @@ -23,6 +23,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2018, Joyent, Inc. + */ + /* Command-line audio play utility */ #include <stdio.h> @@ -802,7 +806,8 @@ closeinput:; (void) close(ifd); /* close input file */ if (Errdetect) { cnt = 0; - audio_set_play_error(Audio_fd, (unsigned int *)&cnt); + (void) audio_set_play_error(Audio_fd, + (unsigned int *)&cnt); if (cnt) { Error(stderr, MGET("%s: output underflow in %s\n"), |