From 685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 8 Aug 2004 08:34:46 +0000 Subject: [PATCH] OK, now check geom class version numbers. --- sys/geom/geom_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 1631d7be068e..c7058ea857fa 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -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);