summaryrefslogtreecommitdiff
path: root/ufs/dir.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-11 22:14:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-11 22:14:23 +0000
commit811d6dcf8dd9ab4dbab3bead947df672c7d3a49f (patch)
tree392c96738308218beb8b6711e3938a256dfbe71b /ufs/dir.c
parent5618f013d44144e4950ce971d0cefabb4ce35c14 (diff)
Formerly dir.c.~21~
Diffstat (limited to 'ufs/dir.c')
-rw-r--r--ufs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 62bf3302..c67d2ee1 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -832,6 +832,7 @@ diskfs_get_directs (struct node *dp,
if (entryp->d_ino)
{
bcopy (bufp, datap, DIRSIZ (entryp->d_namlen));
+ ((struct direct *)bufp)->d_reclen = DIRSIZ (entryp->d_namlen);
i++;
datap += DIRSIZ (entryp->d_namlen);
}