summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-04-09 20:35:13 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-04-09 20:35:13 +0800
commit49b79fa02d93a507df6caf93d3f4545ab057bea5 (patch)
tree1582d0634668a4920a2142ea2535831547ccb11c /dbutil.c
parentc957edbe759ba8d708a882dcb9ab3b2aa1a72ad1 (diff)
Rename HAVE_FORK to USE_VFORK
It makes it a bit more obvious why there's a test there since HAVE_FORK is the normal case.
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbutil.c b/dbutil.c
index 97d7277..044388a 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -443,7 +443,7 @@ int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
return DROPBEAR_FAILURE;
}
-#ifndef HAVE_FORK
+#ifdef USE_VFORK
pid = vfork();
#else
pid = fork();