Don't ignore the return value of g_modevent() in acd_modevent().
Approved by: trasz (mentor)
This commit is contained in:
parent
7e19eab5d0
commit
f46885cd97
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user