diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-03-25 07:39:02 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-03-25 07:39:02 +0000 |
| commit | e169c6670be7346ccaec05678793262cb008d10b (patch) | |
| tree | ac0f23503959dee45b29a85d6291ed9e284d10a2 /lib/libc | |
| parent | 1d93250fd2cbf95c65082b42f0922e09ed29e1ef (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/scandir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/scandir.c b/lib/libc/gen/scandir.c index 1c1fee1b6020..395df8d3d52b 100644 --- a/lib/libc/gen/scandir.c +++ b/lib/libc/gen/scandir.c @@ -96,7 +96,8 @@ scandir(dirname, namelist, select, dcomp) p = (struct dirent *)malloc(DIRSIZ(d)); if (p == NULL) return(-1); - p->d_ino = d->d_ino; + p->d_fileno = d->d_fileno; + p->d_type = d->d_type; p->d_reclen = d->d_reclen; p->d_namlen = d->d_namlen; bcopy(d->d_name, p->d_name, p->d_namlen + 1); |
