From 811d6dcf8dd9ab4dbab3bead947df672c7d3a49f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 11 Jul 1994 22:14:23 +0000 Subject: Formerly dir.c.~21~ --- ufs/dir.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3