diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-09-16 18:48:26 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-09-16 18:48:26 +0000 |
commit | efeda0ae54da67f72c357340975a714b53094548 (patch) | |
tree | eb61e4c19972940bfb05663bbf58d16bc0344839 /ufs/dir.c | |
parent | fb1d398615fdd06a1c66b7d62bba9ef529b697f0 (diff) |
Formerly dir.c.~27~
Diffstat (limited to 'ufs/dir.c')
-rw-r--r-- | ufs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int idx, char *name, || memchr (entry->d_name, '\0', DIRECT_NAMLEN (entry))) { fprintf (stderr, "Bad directory entry: inode: %d offset: %d\n", - dp->dn->number, currentoff - blockaddr); + dp->dn->number, currentoff - blockaddr + idx * DIRBLKSIZ); return ENOENT; } |