summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-06-10 14:24:31 +0000
committerkib <kib@FreeBSD.org>2009-06-10 14:24:31 +0000
commit754aba6b979a17d60b453a557217976a7abdafef (patch)
tree995ed8d225f5d8ee52e0f22ff3e336cc6a203291 /sys/fs
parent2a37bc559bc0ddf30ffe24c4c169cf3905ef0339 (diff)
downloadFreeBSD-src-754aba6b979a17d60b453a557217976a7abdafef.zip
FreeBSD-src-754aba6b979a17d60b453a557217976a7abdafef.tar.gz
Fix r193923 by noting that type of a_fp is struct file *, not int.
It was assumed that r193923 was trivial change that cannot be done wrong. MFC after: 2 weeks
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c2
-rw-r--r--sys/fs/msdosfs/msdosfs_vnops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index f22adb7..1170b67 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -165,7 +165,7 @@ cd9660_open(ap)
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
} */ *ap;
{
struct vnode *vp = ap->a_vp;
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c
index 409dc73..e62af02 100644
--- a/sys/fs/msdosfs/msdosfs_vnops.c
+++ b/sys/fs/msdosfs/msdosfs_vnops.c
@@ -214,7 +214,7 @@ msdosfs_open(ap)
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
} */ *ap;
{
struct denode *dep = VTODE(ap->a_vp);
OpenPOWER on IntegriCloud