diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:56:15 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:56:15 +0000 |
commit | 84c05469b0378c17726a054d7486943ef197b423 (patch) | |
tree | 57ac8a2d08bf7510e5468b53c0cc5d8bbc6e9050 /utils/storeread.c | |
parent | 5798491126bcb231c4fbd5a9675bae036146ad01 (diff) | |
download | hurd-84c05469b0378c17726a054d7486943ef197b423.tar.gz hurd-84c05469b0378c17726a054d7486943ef197b423.tar.bz2 hurd-84c05469b0378c17726a054d7486943ef197b423.zip |
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* login.c (cat): Use munmap instead of vm_deallocate.
(check_owned): Likewise.
(kill_login): Likewise.
* storeread.c (main): Likewise.
* showtrans.c (main): Likewise.
* pids.c (add_fn_pids): Likewise.
* msgport.c (cmd_getenv): Likewise.
Diffstat (limited to 'utils/storeread.c')
-rw-r--r-- | utils/storeread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/storeread.c b/utils/storeread.c index 51336275..faae7225 100644 --- a/utils/storeread.c +++ b/utils/storeread.c @@ -1,6 +1,6 @@ /* Write portions of a store to stdout - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> This file is part of the GNU Hurd. @@ -54,7 +54,7 @@ main (int argc, char **argv) if (write (1, data, data_len) < 0) error (6, errno, "stdout"); if (data != buf) - vm_deallocate (mach_task_self (), (vm_address_t)data, data_len); + munmap (data, data_len); } error_t parse_opt (int key, char *arg, struct argp_state *state) |