Date: Wed, 1 Oct 2003 08:09:36 -0700 (PDT) From: Andrew Reisse <areisse@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 38977 for review Message-ID: <200310011509.h91F9aix007984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=38977 Change 38977 by areisse@areisse_tislabs on 2003/10/01 08:09:25 changed style Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/fileutils.c#6 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/fileutils.c#6 (text+ko) ==== @@ -107,10 +107,10 @@ size_t fread(void *ptr, size_t size, size_t nmemb, FILE *fp) { + struct thread *td = curthread; + if (size == 0) - return 0; - - struct thread *td = curthread; + return (0); fp->FILE_uio.uio_iov->iov_base = ptr; fp->FILE_uio.uio_resid = fp->FILE_uio.uio_iov->iov_len = size * nmemb;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310011509.h91F9aix007984>