diff options
Diffstat (limited to 'compat/forkpty-hpux.c')
-rw-r--r-- | compat/forkpty-hpux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compat/forkpty-hpux.c b/compat/forkpty-hpux.c index 90452f8d..59130e1b 100644 --- a/compat/forkpty-hpux.c +++ b/compat/forkpty-hpux.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> * @@ -29,7 +27,7 @@ pid_t forkpty(int *master, char *name, struct termios *tio, struct winsize *ws) { - int slave; + int slave = -1; char *path; pid_t pid; |