diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-11 19:40:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-11 19:40:49 +0000 |
commit | 67512ffaaefaaa43a27befc0ae7e4e98625ddc96 (patch) | |
tree | cc6bb8f0edc6f43204aacade9980fc82fb00fc79 | |
parent | edecb75bd918e54892b714fcb963f32bb29179f1 (diff) |
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change.
-rw-r--r-- | libdiskfs/boot-start.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index baac9d00..98889e6f 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -355,7 +355,7 @@ diskfs_S_exec_startup_get_info (mach_port_t port, if (*dtablelen < 3) *dtableP = mmap (0, 3 * sizeof (mach_port_t), PROT_READ|PROT_WRITE, - MAP_ANON, 0, 0) + MAP_ANON, 0, 0); dtable = *dtableP; *dtablelen = 3; dtable[0] = dtable[1] = dtable[2] = get_console (); /* XXX */ @@ -594,7 +594,7 @@ diskfs_S_fsys_init (mach_port_t port, and call _hurd_init. */ mach_port_t *portarray; unsigned int i; - portarray = mmap (0, INIT_PORT_MAX * sizeof *portarray, + portarray = mmap (0, INIT_PORT_MAX * sizeof *portarray, PROT_READ|PROT_WRITE, MAP_ANON, 0, 0); if (MACH_PORT_NULL != (mach_port_t) 0) for (i = 0; i < INIT_PORT_MAX; ++i) |