fix paste-o in previous commit

This commit is contained in:
dbj 2004-01-03 10:25:06 +00:00
parent f3786e90b7
commit f491995334
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: inode.c,v 1.42 2004/01/03 10:11:41 dbj Exp $ */
/* $NetBSD: inode.c,v 1.43 2004/01/03 10:25:06 dbj Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: inode.c,v 1.42 2004/01/03 10:11:41 dbj Exp $");
__RCSID("$NetBSD: inode.c,v 1.43 2004/01/03 10:25:06 dbj Exp $");
#endif
#endif /* not lint */
@ -359,7 +359,7 @@ swap_dinode1(union dinode *dp, int n)
if (((iswap16(dp1->di_mode) & IFMT) != IFLNK) ||
(isappleufs && (iswap64(dp1->di_size) >
APPLEUFS_MAXSYMLINKLEN)) ||
(sblock->fs_maxsymlinkelen < 0) ||
(sblock->fs_maxsymlinklen < 0) ||
(iswap64(dp1->di_size) > sblock->fs_maxsymlinklen)) {
for (j = 0; j < (NDADDR + NIADDR); j++)
dp1->di_db[j] = bswap32(dp1->di_db[j]);