summaryrefslogtreecommitdiff
path: root/sbin/newfs/newfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r--sbin/newfs/newfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 15e6b935c07..90a0b0a6d28 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs.c,v 1.66 2007/06/01 06:41:35 deraadt Exp $ */
+/* $OpenBSD: newfs.c,v 1.67 2007/06/01 23:42:35 pedro Exp $ */
/* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */
/*
@@ -98,8 +98,8 @@ u_short dkcksum(struct disklabel *);
* placed in a single cylinder group. The default is one indirect
* block worth of data blocks.
*/
-#define MAXBLKPG_FFS1(bsize) ((bsize) / sizeof(ufs1_daddr_t))
-#define MAXBLKPG_FFS2(bsize) ((bsize) / sizeof(daddr64_t))
+#define MAXBLKPG_FFS1(bsize) ((bsize) / sizeof(int32_t))
+#define MAXBLKPG_FFS2(bsize) ((bsize) / sizeof(int64_t))
/*
* Each file system has a number of inodes statically allocated.