summaryrefslogtreecommitdiff
path: root/libps/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libps/context.c')
-rw-r--r--libps/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libps/context.c b/libps/context.c
index a9cab6e7..b8ca102a 100644
--- a/libps/context.c
+++ b/libps/context.c
@@ -1,6 +1,6 @@
/* The ps_context type, for per-procserver and somewhat global state.
- Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,99,2000,02 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -142,7 +142,7 @@ ps_context_find_tty_by_cttyid (struct ps_context *pc, mach_port_t cttyid_port,
}
else
{
- int tty_port;
+ mach_port_t tty_port;
error_t err = termctty_open_terminal (cttyid_port, 0, &tty_port);
if (err)
return err;