summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-03-09 13:35:03 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-03-09 13:35:03 +0000
commit164a6b1ad593049aa35d3d58446a7a517a3e75eb (patch)
treea1c2195d552e950ef96fb1fd3bd19f6ebcf93c2c /sbin/fsck_ffs
parentdce26f6ae64a51315f5998964911ac7b83859ced (diff)
Remove option -n from newfs as well as all references to fs_postbl()
Various testing for a while, okay krw@
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 2c6e0a75952..3b07c25d519 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.22 2005/12/19 15:18:01 pedro Exp $ */
+/* $OpenBSD: setup.c,v 1.23 2006/03/09 13:35:02 pedro Exp $ */
/* $NetBSD: setup.c,v 1.27 1996/09/27 22:45:19 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94";
#else
-static const char rcsid[] = "$OpenBSD: setup.c,v 1.22 2005/12/19 15:18:01 pedro Exp $";
+static const char rcsid[] = "$OpenBSD: setup.c,v 1.23 2006/03/09 13:35:02 pedro Exp $";
#endif
#endif /* not lint */
@@ -309,7 +309,7 @@ setup(char *dev)
sblock.fs_postblformat = FS_DYNAMICPOSTBLFMT;
sblock.fs_nrpos = 8;
sblock.fs_postbloff =
- (char *)(&sblock.fs_opostbl[0][0]) -
+ (char *)(&sblock.fs_opostbl_start) -
(char *)(&sblock.fs_firstfield);
sblock.fs_rotbloff = &sblock.fs_space[0] -
(u_char *)(&sblock.fs_firstfield);