summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/inode.c')
-rw-r--r--sbin/fsck_ffs/inode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 65b2cc48349..afa0df5785c 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inode.c,v 1.34 2011/04/16 16:37:21 otto Exp $ */
+/* $OpenBSD: inode.c,v 1.35 2011/04/24 07:07:03 otto Exp $ */
/* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */
/*
@@ -650,8 +650,7 @@ allocino(ino_t request, int type)
DIP_SET(dp, di_blocks, btodb(sblock.fs_fsize));
n_files++;
inodirty();
- if (newinofmt)
- SET_ITYPE(ino, IFTODT(type));
+ SET_ITYPE(ino, IFTODT(type));
return (ino);
}