Module Name: src Committed By: mrg Date: Tue Apr 7 05:50:11 UTC 2009
Modified Files: src/sbin/fsck_ffs: setup.c Log Message: fix a logic error in the previous, as point out by frank kardel. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sbin/fsck_ffs/setup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/fsck_ffs/setup.c diff -u src/sbin/fsck_ffs/setup.c:1.86 src/sbin/fsck_ffs/setup.c:1.87 --- src/sbin/fsck_ffs/setup.c:1.86 Wed Mar 25 03:42:41 2009 +++ src/sbin/fsck_ffs/setup.c Tue Apr 7 05:50:11 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.86 2009/03/25 03:42:41 mrg Exp $ */ +/* $NetBSD: setup.c,v 1.87 2009/04/07 05:50:11 mrg Exp $ */ /* * Copyright (c) 1980, 1986, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.10 (Berkeley) 5/9/95"; #else -__RCSID("$NetBSD: setup.c,v 1.86 2009/03/25 03:42:41 mrg Exp $"); +__RCSID("$NetBSD: setup.c,v 1.87 2009/04/07 05:50:11 mrg Exp $"); #endif #endif /* not lint */ @@ -174,7 +174,7 @@ pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag); } if (sblock->fs_flags & FS_DOWAPBL) { - if (preen && !skipclean) { + if (preen && skipclean) { if (!quiet) pwarn("file system is journaled; not checking\n"); return (-1);