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_wapbl.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_wapbl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6.12.1 retrieving revision 1.7 diff -u -p -r1.6.12.1 -r1.7 --- src/sys/ufs/ffs/ffs_wapbl.c 2010/04/21 00:28:26 1.6.12.1 +++ src/sys/ufs/ffs/ffs_wapbl.c 2008/11/10 20:12:13 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_wapbl.c,v 1.6.12.1 2010/04/21 00:28:26 matt Exp $ */ +/* $NetBSD: ffs_wapbl.c,v 1.7 2008/11/10 20:12:13 joerg Exp $ */ /*- * Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc. @@ -30,7 +30,9 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.6.12.1 2010/04/21 00:28:26 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.7 2008/11/10 20:12:13 joerg Exp $"); + +#define WAPBL_INTERNAL #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -286,7 +288,7 @@ wapbl_remove_log(struct mount *mp) default: printf("ffs_wapbl: unknown journal type %d\n", fs->fs_journal_location); - break; + return EINVAL; }