diff options
| author | fvdl <fvdl@NetBSD.org> | 1997-10-10 22:16:04 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 1997-10-10 22:16:04 +0000 |
| commit | d85f38cbeccf1593d3e2844d439ed29d904a11b4 (patch) | |
| tree | dea12019d2e7504d7e0c5201730334eccc871887 /sys/compat/linux/common/linux_oldselect.c | |
| parent | 051b06a759f5e8b8e2d66dcffab8362c45157844 (diff) | |
Fix braino in my interpretation of the eof flag to VOP_READDIR.
Diffstat (limited to 'sys/compat/linux/common/linux_oldselect.c')
| -rw-r--r-- | sys/compat/linux/common/linux_oldselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_oldselect.c b/sys/compat/linux/common/linux_oldselect.c index e0b97beb919..2744e8f5e6d 100644 --- a/sys/compat/linux/common/linux_oldselect.c +++ b/sys/compat/linux/common/linux_oldselect.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_oldselect.c,v 1.34 1997/10/10 06:25:34 mycroft Exp $ */ +/* $NetBSD: linux_oldselect.c,v 1.35 1997/10/10 22:16:10 fvdl Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -843,7 +843,7 @@ again: inp = buf; outp = SCARG(uap, dent); resid = nbytes; - if (eofflag || (len = buflen - auio.uio_resid) == 0) + if ((len = buflen - auio.uio_resid) == 0) goto eof; for (cookie = cookiebuf; len > 0; len -= reclen) { |
