OK, now check geom class version numbers.

This commit is contained in:
phk 2004-08-08 08:34:46 +00:00
parent d8d2b01380
commit 685cf0583f

View File

@ -180,7 +180,7 @@ g_modevent(module_t mod, int type, void *data)
struct g_class *mp;
mp = data;
if (mp->version != 0 && mp->version != G_VERSION) {
if (mp->version != G_VERSION) {
printf("GEOM class %s has Wrong version %x\n",
mp->name, mp->version);
return (EINVAL);