]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Always check the return value of lseek.
authorasomers <asomers@FreeBSD.org>
Fri, 6 Nov 2015 19:18:20 +0000 (19:18 +0000)
committerasomers <asomers@FreeBSD.org>
Fri, 6 Nov 2015 19:18:20 +0000 (19:18 +0000)
commitd527e5dce9338b04b72c7e909cfda6e7180b393d
tree921d8184ea24feb126acc7ce166c5c4be6c581ea
parentbb5898dcfd422af78f1385b70c6581d7e1d7ca69
Always check the return value of lseek.

This is a follow-up to r289845, which only fixed one occurence of CID
1009429.

Coverity CID: 1009429
Reviewed by: markj
MFC after: 2 weeks
X-MFC-With: r289845
Sponsored by: Spectra Logic
Differential Revision: https://reviews.freebsd.org/D4096
sbin/savecore/savecore.c