diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2009-01-14 21:24:09 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2009-01-14 21:24:09 +0000 |
commit | 9af2fdc1daa774bb3ceac543e3857ac33d10dd91 (patch) | |
tree | d7dff9da98c5d75698323876a6c4f0d20566a4e7 | |
parent | 7091ec09202229d610e39d73c565f1661ed3cb72 (diff) |
correct test when checking the default operation entry.
from patrick keshishian <sidster at boxsoft dot com>
-rw-r--r-- | sys/kern/vfs_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 7fee91ee5d0..4478dce690c 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_init.c,v 1.23 2008/05/16 17:45:37 thib Exp $ */ +/* $OpenBSD: vfs_init.c,v 1.24 2009/01/14 21:24:08 fgsch Exp $ */ /* $NetBSD: vfs_init.c,v 1.6 1996/02/09 19:00:58 christos Exp $ */ /* @@ -124,7 +124,7 @@ vfs_opv_init_explicit(struct vnodeopv_desc *vfs_opv_desc) * list of supported operations. */ if (opve_descp->opve_op->vdesc_offset == 0 && - opve_descp->opve_op->vdesc_offset != VOFFSET(vop_default)) { + opve_descp->opve_op != VDESC(vop_default)) { printf("operation %s not listed in %s.\n", opve_descp->opve_op->vdesc_name, "vfs_op_descs"); panic ("vfs_opv_init: bad operation"); |