summaryrefslogtreecommitdiffstats
path: root/usr.bin/tn3270/sys_curses/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tn3270/sys_curses/system.c')
-rw-r--r--usr.bin/tn3270/sys_curses/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tn3270/sys_curses/system.c b/usr.bin/tn3270/sys_curses/system.c
index 67b31af..68a8e5f 100644
--- a/usr.bin/tn3270/sys_curses/system.c
+++ b/usr.bin/tn3270/sys_curses/system.c
@@ -722,9 +722,9 @@ char *argv[];
child_died(); /* Start up signal handler */
shell_active = 1; /* We are running down below */
- if (shell_pid = vfork()) {
+ if (shell_pid = fork()) {
if (shell_pid == -1) {
- perror("vfork");
+ perror("fork");
(void) close(serversock);
} else {
state = UNCONNECTED;
OpenPOWER on IntegriCloud