commit 5bb558bc443bf3d479ddc5bc0a06b33104978625
parent 1989e4a86d25e85aa548d84f68dbfa6c67315e84
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 24 Aug 2022 14:34:15 +0200
os::exec: improve addfile docs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/exec/cmd.ha b/os/exec/cmd.ha
@@ -134,7 +134,7 @@ export fn setenv(cmd: *command, key: str, value: str) (void | errors::invalid) =
// Configures a file in the child process's file table, such that the file
// described by the 'source' parameter is mapped onto file descriptor slot
-// 'source' in the child process via dup(2).
+// 'child' in the child process via dup(2).
//
// This operation is performed atomically, such that the following code swaps
// stdout and stderr: