diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-05 02:31:55 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-05 02:31:55 +0000 |
commit | c4410104eadb6f8a1d8887ea932e38074127e541 (patch) | |
tree | a668da605e38ff139d51484bc2a831169e6fd6da /sbin/fsck_ffs/dir.c | |
parent | d88aa2e17a50be20099bfd17b75f6c2a0c1d0cc1 (diff) |
remove useless (always false) check; ok millert henning
Diffstat (limited to 'sbin/fsck_ffs/dir.c')
-rw-r--r-- | sbin/fsck_ffs/dir.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c index 355cd87ef5c..365944d5524 100644 --- a/sbin/fsck_ffs/dir.c +++ b/sbin/fsck_ffs/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.16 2003/08/25 23:28:15 tedu Exp $ */ +/* $OpenBSD: dir.c,v 1.17 2004/07/05 02:31:54 pvalchev Exp $ */ /* $NetBSD: dir.c,v 1.20 1996/09/27 22:45:11 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)dir.c 8.5 (Berkeley) 12/8/94"; #else -static const char rcsid[] = "$OpenBSD: dir.c,v 1.16 2003/08/25 23:28:15 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: dir.c,v 1.17 2004/07/05 02:31:54 pvalchev Exp $"; #endif #endif /* not lint */ @@ -253,7 +253,6 @@ dircheck(struct inodesc *idesc, struct direct *dp) # endif if (dp->d_reclen < size || idesc->id_filesize < size || - namlen > MAXNAMLEN || type > 15) return (0); for (cp = dp->d_name, size = 0; size < namlen; size++) |