mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Pacify Coverity.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c38dac681d
commit
ee4256cf01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296918
@ -370,8 +370,10 @@ static size_t
|
||||
autofs_dirent_reclen(const char *name)
|
||||
{
|
||||
size_t reclen;
|
||||
int error;
|
||||
|
||||
autofs_readdir_one(NULL, name, -1, &reclen);
|
||||
error = autofs_readdir_one(NULL, name, -1, &reclen);
|
||||
KASSERT(error == 0, ("autofs_readdir_one() failed"));
|
||||
|
||||
return (reclen);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user