1
0
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:
Edward Tomasz Napierala 2016-03-15 20:42:36 +00:00
parent c38dac681d
commit ee4256cf01
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296918

View File

@ -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);
}