diff options
Diffstat (limited to 'compat/forkpty-hpux.c')
-rw-r--r-- | compat/forkpty-hpux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/forkpty-hpux.c b/compat/forkpty-hpux.c index 90452f8d..c72e096d 100644 --- a/compat/forkpty-hpux.c +++ b/compat/forkpty-hpux.c @@ -29,7 +29,7 @@ pid_t forkpty(int *master, char *name, struct termios *tio, struct winsize *ws) { - int slave; + int slave = -1; char *path; pid_t pid; |