HomeFreeBSD

tests: epair: Don't fail if we load if_epair

Description

tests: epair: Don't fail if we load if_epair

kldload() returns a positive integer when it loads a ko, so check that the
return value is -1 to detect error cases, not that it's different from zero.

MFC after: 3 days
X-MFC-With: r357234

Details

Provenance
kpAuthored on
Parents
rS357374: Remove a couple of lingering usages of the page lock.
Branches
Unknown
Tags
Unknown