summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:14:40 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:14:40 +0000
commitf1e64f8b91cbe01955946ef146c5bc775618d8a4 (patch)
tree9fd952145b6b7acc6a6510b19748bd7f3b600075 /libdiskfs
parent62f71a6e82f82f05da0e5b9673835cff6c6f91dd (diff)
(diskfs_execboot_fsys_startup, diskfs_S_fsys_init,
diskfs_S_exec_startup_get_info, diskfs_start_bootstrap): Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/boot-start.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 3d97eef6..711881a6 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -96,8 +96,7 @@ diskfs_start_bootstrap ()
/* Create the port for current and root directory. */
err = diskfs_create_protid (diskfs_make_peropen (diskfs_root_node,
- O_READ | O_EXEC,
- MACH_PORT_NULL, 0),
+ O_READ | O_EXEC, 0),
0, &rootpi);
assert_perror (err);
root_pt = ports_get_right (rootpi);
@@ -259,8 +258,7 @@ diskfs_S_exec_startup_get_info (mach_port_t port,
*intarraylen = 0;
err = diskfs_create_protid (diskfs_make_peropen (diskfs_root_node,
- O_READ | O_EXEC,
- MACH_PORT_NULL, 0),
+ O_READ | O_EXEC, 0),
0, &rootpi);
assert_perror (err);
rootport = ports_get_right (rootpi);
@@ -299,8 +297,7 @@ diskfs_execboot_fsys_startup (mach_port_t port, int flags,
diskfs_execboot_class)))
return EOPNOTSUPP;
- err = diskfs_create_protid (diskfs_make_peropen (diskfs_root_node, flags,
- MACH_PORT_NULL, 0),
+ err = diskfs_create_protid (diskfs_make_peropen (diskfs_root_node, flags, 0),
0, &rootpi);
assert_perror (err);
rootport = ports_get_right (rootpi);
@@ -413,8 +410,7 @@ diskfs_S_fsys_init (mach_port_t port,
/* Get a port to the root directory to put in the library's
data structures. */
err = diskfs_create_protid (diskfs_make_peropen (diskfs_root_node,
- O_READ|O_EXEC,
- MACH_PORT_NULL, 0),
+ O_READ|O_EXEC, 0),
0, &rootpi);
assert_perror (err);
root_pt = ports_get_right (rootpi);