aboutsummaryrefslogtreecommitdiff
path: root/src/appl/gssftp/ftpd/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/gssftp/ftpd/popen.c')
-rw-r--r--src/appl/gssftp/ftpd/popen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/appl/gssftp/ftpd/popen.c b/src/appl/gssftp/ftpd/popen.c
index 317b6fa..e9e5895 100644
--- a/src/appl/gssftp/ftpd/popen.c
+++ b/src/appl/gssftp/ftpd/popen.c
@@ -46,9 +46,6 @@ static char sccsid[] = "@(#)popen.c 5.9 (Berkeley) 2/25/91";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_VFORK_H
-#include <vfork.h>
-#endif
#include "ftpd_var.h"
/*
@@ -109,7 +106,7 @@ ftpd_popen(program, type)
gargv[gargc] = NULL;
iop = NULL;
- switch(pid = vfork()) {
+ switch(pid = fork()) {
case -1: /* error */
(void)close(pdes[0]);
(void)close(pdes[1]);