aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2006-07-09 00:26:56 +0000
committerMartin Schlemmer <azarah@gentoo.org>2006-07-09 00:26:56 +0000
commit5a4a8ed1eabf678341b00c021a257f0c7535941e (patch)
tree1291c0e863405f6948458836057b5e461f662f57 /src
parentFree child argv we allocated earlier, as at execve() duplicates (diff)
downloadsandbox-5a4a8ed1eabf678341b00c021a257f0c7535941e.tar.gz
sandbox-5a4a8ed1eabf678341b00c021a257f0c7535941e.tar.bz2
sandbox-5a4a8ed1eabf678341b00c021a257f0c7535941e.zip
Update comment.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.c b/src/sandbox.c
index de68610..11c6c2e 100644
--- a/src/sandbox.c
+++ b/src/sandbox.c
@@ -544,7 +544,7 @@ int spawn_shell(char *argv_bash[], char **env, int debug)
return 0;
}
- /* execve() creates a copy of this, so no need to use more memory than
+ /* fork() creates a copy of this, so no need to use more memory than
* absolutely needed. */
str_list_free(argv_bash);
str_list_free(env);