Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux/common/linux_oldmmap.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/common/linux_oldmmap.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.34 retrieving revision 1.35 diff -u -p -r1.34 -r1.35 --- src/sys/compat/linux/common/linux_oldmmap.c 1997/10/10 06:25:34 1.34 +++ src/sys/compat/linux/common/linux_oldmmap.c 1997/10/10 22:16:10 1.35 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_oldmmap.c,v 1.34 1997/10/10 06:25:34 mycroft Exp $ */ +/* $NetBSD: linux_oldmmap.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) {