FreeBSD/sbin/hastd/nv.c
/*
 * Return error for the given nv structure.
 */
Return error for the given nv structure.
Return error for the given nv structure .
int
nv_error(const struct nv *nv)
{
	if (nv == NULL)
		return (ENOMEM);
	NV_CHECK(nv);
	return (nv->nv_error);
}
int nv_error ( const struct nv * nv ) { if ( nv == NULL ) return ( ENOMEM ) ; NV_CHECK ( nv ) ; return ( nv -> nv_error ) ; }
Return error for the given nv structure.
Return error for the given nv structure .