summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-08-08 08:34:46 +0000
committerphk <phk@FreeBSD.org>2004-08-08 08:34:46 +0000
commit685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9 (patch)
treebdcc4e7a0302ffdc24678ee4a56bea55a4bc68ab /sys/geom/geom_subr.c
parentd8d2b0138039c72e933017096876867d031fe6e0 (diff)
downloadFreeBSD-src-685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9.zip
FreeBSD-src-685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9.tar.gz
OK, now check geom class version numbers.
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r--sys/geom/geom_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index 1631d7b..c7058ea 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);
OpenPOWER on IntegriCloud