diff options
author | 2000-12-29 15:02:58 +0000 | |
---|---|---|
committer | 2000-12-29 15:02:58 +0000 | |
commit | 875b15476e7a79daab3ee734dcdf71fb735ae059 (patch) | |
tree | a97d63cae6dfbc07580ff7f681318cbb3300444e | |
parent | kernfs/procfs lines in sample fstab (diff) | |
download | wireguard-openbsd-875b15476e7a79daab3ee734dcdf71fb735ae059.tar.xz wireguard-openbsd-875b15476e7a79daab3ee734dcdf71fb735ae059.zip |
Don't mark filesystem clean if fsck needs to be rerun (PR 1572)
-rw-r--r-- | sbin/fsck_ffs/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index f1e8d722205..de81f967257 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.16 2000/01/22 20:24:56 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.17 2000/12/29 15:02:58 angelos Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.16 2000/01/22 20:24:56 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.17 2000/12/29 15:02:58 angelos Exp $"; #endif #endif /* not lint */ @@ -306,7 +306,7 @@ checkfilesys(filesys, mntpt, auxdata, child) bwrite(fswritefd, (char *)&sblock, fsbtodb(&sblock, cgsblock(&sblock, cylno)), SBSIZE); } - ckfini(1); + ckfini(!rerun); /* Don't mark fs clean if fsck needs to be re-run */ free(blockmap); free(statemap); free((char *)lncntp); |