summaryrefslogtreecommitdiff
path: root/utils/ldd.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-10-05 21:44:56 +0000
committerEric Andersen <andersen@codepoet.org>2005-10-05 21:44:56 +0000
commit2193796a36944a983c86a41c15ef8a9f059965a5 (patch)
treebd27cb4cfe9d3ce45ebc0e35b08fb7931ad0fb42 /utils/ldd.c
parent553fae32d3cdd1f36216a03d9ba2b0720b173d95 (diff)
ldd does not build due to missing fork() on MMUless. Since ldd merely
does a fork/exec, fork() can be trivially replaced with vfork()
Diffstat (limited to 'utils/ldd.c')
-rw-r--r--utils/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 51451809c..a857127a8 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -727,7 +727,7 @@ foo:
NULL
};
- if ((pid = fork()) == 0) {
+ if ((pid = vfork()) == 0) {
/* Cool, it looks like we should be able to actually
* run this puppy. Do so now... */
execle(filename, filename, NULL, environment);