Module Name: othersrc
Committed By: stacktic
Date: Mon Jul 13 17:11:38 UTC 2009
Modified Files:
othersrc/usr.sbin/makefs-analyzetree: ext2fs.c
Log Message:
Fixed build on 5.0
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/usr.sbin/makefs-analyzetree/ext2fs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/usr.sbin/makefs-analyzetree/ext2fs.c
diff -u othersrc/usr.sbin/makefs-analyzetree/ext2fs.c:1.1 othersrc/usr.sbin/makefs-analyzetree/ext2fs.c:1.2
--- othersrc/usr.sbin/makefs-analyzetree/ext2fs.c:1.1 Tue Apr 14 17:37:25 2009
+++ othersrc/usr.sbin/makefs-analyzetree/ext2fs.c Mon Jul 13 17:11:37 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs.c,v 1.1 2009/04/14 17:37:25 pooka Exp $ */
+/* $NetBSD: ext2fs.c,v 1.2 2009/07/13 17:11:37 stacktic Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -71,7 +71,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: ext2fs.c,v 1.1 2009/04/14 17:37:25 pooka Exp $");
+__RCSID("$NetBSD: ext2fs.c,v 1.2 2009/07/13 17:11:37 stacktic Exp $");
#endif /* !__lint */
#include <sys/param.h>
@@ -101,6 +101,10 @@
#include <ufs/ext2fs/ext2fs_dir.h>
#define FFS_MAXBSIZE (1<<16)
+#ifndef EXT2_REV0_DINODE_SIZE
+#define EXT2_REV0_DINODE_SIZE (EXT2_DINODE_SIZE)
+#endif
+
/*
* Various file system defaults (cribbed from newfs(8)).
*/