summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-08-15 22:12:53 +0000
committerrwatson <rwatson@FreeBSD.org>2002-08-15 22:12:53 +0000
commite75c68c9502ec3d258fa4b4df5c672b7f11b4490 (patch)
tree8c0a097444da7768dc169ba213f4b1d65e1765f9
parent331fe8720361d1dfcea204a8e110850dc4fa73a8 (diff)
downloadFreeBSD-src-e75c68c9502ec3d258fa4b4df5c672b7f11b4490.zip
FreeBSD-src-e75c68c9502ec3d258fa4b4df5c672b7f11b4490.tar.gz
For some reason, the flags and td arguments in the fo_read prototype
were reversed. Correct this with no functional change.
-rw-r--r--sys/sys/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index ca6cc05..d2e31d2 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -194,8 +194,8 @@ fo_read(fp, uio, active_cred, flags, td)
struct file *fp;
struct uio *uio;
struct ucred *active_cred;
- struct thread *td;
int flags;
+ struct thread *td;
{
return ((*fp->f_ops->fo_read)(fp, uio, active_cred, flags, td));
OpenPOWER on IntegriCloud