diff options
author | Miles Bader <miles@gnu.org> | 1997-07-23 17:43:31 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-07-23 17:43:31 +0000 |
commit | a8069b7d7c1dfac308db0c562ffaf74bdea585a1 (patch) | |
tree | 1cad091912be9c0ca1c598aa7ff34353d1bc8937 | |
parent | 43dcb43984cebff80f7f2b60d50f8ad19d8ddd91 (diff) |
(maptime_map):
Allow MTIME to be mapped anywhere.
-rw-r--r-- | libshouldbeinlibc/maptime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshouldbeinlibc/maptime.c b/libshouldbeinlibc/maptime.c index c89557a8..bc750458 100644 --- a/libshouldbeinlibc/maptime.c +++ b/libshouldbeinlibc/maptime.c @@ -68,6 +68,7 @@ maptime_map (int use_mach_dev, char *dev_name, if (! err) { + *mtime = 0; err = vm_map (mach_task_self (), (vm_address_t *)mtime, sizeof *mtime, 0, 1, memobj, 0, 0, VM_PROT_READ, VM_PROT_READ, VM_INHERIT_NONE); |