diff options
author | phk <phk@FreeBSD.org> | 2004-08-08 08:34:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-08-08 08:34:46 +0000 |
commit | 685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9 (patch) | |
tree | bdcc4e7a0302ffdc24678ee4a56bea55a4bc68ab | |
parent | d8d2b0138039c72e933017096876867d031fe6e0 (diff) | |
download | FreeBSD-src-685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9.zip FreeBSD-src-685cf0583f7ec28ca1fbfc72cead7de8f0cee9f9.tar.gz |
OK, now check geom class version numbers.
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
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); |