mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue