Don't ignore the return value of g_modevent() in acd_modevent().

Approved by:	trasz (mentor)
This commit is contained in:
jh 2009-10-27 17:12:59 +00:00
parent 7e19eab5d0
commit f46885cd97

View File

@ -1905,8 +1905,7 @@ static devclass_t acd_devclass;
static int
acd_modevent(module_t mod, int what, void *arg)
{
g_modevent(0, what, &acd_class);
return 0;
return g_modevent(0, what, &acd_class);
}
DRIVER_MODULE(acd, ata, acd_driver, acd_devclass, acd_modevent, NULL);