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

Approved by:	trasz (mentor)
This commit is contained in:
Jaakko Heinonen 2009-10-27 17:14:22 +00:00
parent e4bd91445e
commit 0c73f68bb6

View File

@ -2068,8 +2068,7 @@ static int
fdc_modevent(module_t mod, int type, void *data)
{
g_modevent(NULL, type, &g_fd_class);
return (0);
return (g_modevent(NULL, type, &g_fd_class));
}
DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, fdc_modevent, 0);