Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_vfsops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_vfsops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.179 retrieving revision 1.180 diff -u -p -r1.179 -r1.180 --- src/sys/ufs/ffs/ffs_vfsops.c 2006/01/14 17:41:16 1.179 +++ src/sys/ufs/ffs/ffs_vfsops.c 2006/02/21 04:32:39 1.180 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_vfsops.c,v 1.179 2006/01/14 17:41:16 yamt Exp $ */ +/* $NetBSD: ffs_vfsops.c,v 1.180 2006/02/21 04:32:39 thorpej Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1994 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.179 2006/01/14 17:41:16 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.180 2006/02/21 04:32:39 thorpej Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -150,7 +150,7 @@ ffs_mountroot(void) struct ufsmount *ump; int error; - if (root_device->dv_class != DV_DISK) + if (device_class(root_device) != DV_DISK) return (ENODEV); if ((error = vfs_rootmountalloc(MOUNT_FFS, "root_device", &mp))) {