diff options
author | Miles Bader <miles@gnu.org> | 1996-05-28 23:10:32 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-28 23:10:32 +0000 |
commit | 31942da9b82df365dae19b382c4c16e8523d15c9 (patch) | |
tree | a377d9884708e9fe1a9485cfd5ed7182c31a98e9 | |
parent | 4b3f14c2bd9fa182a66bff708c18fbc57d9552de (diff) |
(check_owned): Return OWNED, not NOTOWNED.
-rw-r--r-- | utils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/login.c b/utils/login.c index 01f05bc4..7ff1aa60 100644 --- a/utils/login.c +++ b/utils/login.c @@ -276,7 +276,7 @@ check_owned (process_t proc_server, pid_t pid, int *owned) if (! err) { - *owned = pi->state & PI_NOTOWNED; + *owned = !(pi->state & PI_NOTOWNED); if (pi != &_pi) vm_deallocate (mach_task_self (), (vm_address_t)pi, pi_size); } |