mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
amd_ecc_inject: return an error instead of ignoring it in tsc_modevent
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
cfe94aa8c1
commit
ab9d2f02a0
@ -237,9 +237,9 @@ tsc_modevent(module_t mod __unused, int type, void *data __unused)
|
||||
case MOD_SHUTDOWN:
|
||||
break;
|
||||
default:
|
||||
return (EOPNOTSUPP);
|
||||
error = EOPNOTSUPP;
|
||||
}
|
||||
return (0);
|
||||
return (error);
|
||||
}
|
||||
|
||||
DEV_MODULE(tsc, tsc_modevent, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user