summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:23:36 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:23:36 +0000
commitd2f2436ff2fdeb3d6c8f4db78a88883901600994 (patch)
tree2996895369441df935074519f3b8642d311d4155 /libdiskfs
parente7cc04f571685cb9396f254ebe5d7145266a32a4 (diff)
(diskfs_S_fsys_getfile):
Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-getfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/fsys-getfile.c b/libdiskfs/fsys-getfile.c
index 67bd62e7..56766ed4 100644
--- a/libdiskfs/fsys-getfile.c
+++ b/libdiskfs/fsys-getfile.c
@@ -86,8 +86,7 @@ diskfs_S_fsys_getfile (mach_port_t fsys,
&& ! diskfs_check_readonly ())
flags |= O_WRITE;
- err = diskfs_create_protid (diskfs_make_peropen (node, flags,
- MACH_PORT_NULL, 0),
+ err = diskfs_create_protid (diskfs_make_peropen (node, flags, 0),
user, &new_cred);
iohelp_free_iouser (user);