OK, now check geom class version numbers.
This commit is contained in:
parent
d8d2b01380
commit
685cf0583f
@ -180,7 +180,7 @@ g_modevent(module_t mod, int type, void *data)
|
|||||||
struct g_class *mp;
|
struct g_class *mp;
|
||||||
|
|
||||||
mp = data;
|
mp = data;
|
||||||
if (mp->version != 0 && mp->version != G_VERSION) {
|
if (mp->version != G_VERSION) {
|
||||||
printf("GEOM class %s has Wrong version %x\n",
|
printf("GEOM class %s has Wrong version %x\n",
|
||||||
mp->name, mp->version);
|
mp->name, mp->version);
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user