PERFORCE change 38977 for review
Andrew Reisse
areisse at FreeBSD.org
Wed Oct 1 15:09:36 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=38977
Change 38977 by areisse at 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;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list