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