summaryrefslogtreecommitdiff
path: root/ufs
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
commitb98b3ceaa0eb2636ae351c69eaafece9d51ac6fa (patch)
treec0e58cef10783ae6416f3409e50ae0f17e9970c6 /ufs
parent0188170d4e1ab74f3f0d1bb439de263beed1df2e (diff)
Formerly dir.c.~21~
Diffstat (limited to 'ufs')
-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);
}