diff options
author | Toomas Soome <tsoome@me.com> | 2019-05-16 14:55:18 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-05-21 09:17:08 +0300 |
commit | 1ad5cbf20bd03988a4202b25e798834123eb3c26 (patch) | |
tree | 2a7075763d473f4cd2968024004671acb8b3e5f5 | |
parent | ed74d7a11db9675a8e4047a9aab3f173ca890c6e (diff) | |
download | illumos-joyent-1ad5cbf20bd03988a4202b25e798834123eb3c26.tar.gz |
11042 sppptun: smatch error: unchecked function return 'sppptun_urput'
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/ppp/sppptun/sppptun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/ppp/sppptun/sppptun.c b/usr/src/uts/common/io/ppp/sppptun/sppptun.c index b09cc1d694..79c765ae27 100644 --- a/usr/src/uts/common/io/ppp/sppptun/sppptun.c +++ b/usr/src/uts/common/io/ppp/sppptun/sppptun.c @@ -1039,11 +1039,11 @@ sppptun_outpkt(queue_t *q, mblk_t **mpp) case luCopy: mp = copymsg(encmb); if (mp != NULL) - sppptun_urput(RD(lowerq), mp); + (void) sppptun_urput(RD(lowerq), mp); *mpp = encmb; break; case luSend: - sppptun_urput(RD(lowerq), encmb); + (void) sppptun_urput(RD(lowerq), encmb); lowerq = NULL; break; } |