summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/dir.c')
-rw-r--r--sbin/fsck_ffs/dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c
index a55b523d7da..835242ff7bf 100644
--- a/sbin/fsck_ffs/dir.c
+++ b/sbin/fsck_ffs/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.28 2013/04/24 13:46:29 deraadt Exp $ */
+/* $OpenBSD: dir.c,v 1.29 2013/06/11 16:42:04 deraadt Exp $ */
/* $NetBSD: dir.c,v 1.20 1996/09/27 22:45:11 christos Exp $ */
/*
@@ -59,7 +59,7 @@ struct odirtemplate odirhead = {
static int expanddir(union dinode *, char *);
static void freedir(ino_t, ino_t);
static struct direct *fsck_readdir(struct inodesc *);
-static struct bufarea *getdirblk(daddr64_t, long);
+static struct bufarea *getdirblk(daddr_t, long);
static int lftempname(char *, ino_t);
static int mkentry(struct inodesc *);
static int chgino(struct inodesc *);
@@ -495,7 +495,7 @@ makeentry(ino_t parent, ino_t ino, char *name)
static int
expanddir(union dinode *dp, char *name)
{
- daddr64_t lastbn, newblk;
+ daddr_t lastbn, newblk;
struct bufarea *bp;
char *cp, firstblk[DIRBLKSIZ];
u_int64_t dis;
@@ -657,7 +657,7 @@ lftempname(char *bufp, ino_t ino)
* Insure that it is held until another is requested.
*/
static struct bufarea *
-getdirblk(daddr64_t blkno, long size)
+getdirblk(daddr_t blkno, long size)
{
if (pdirbp != 0)