From 63aa11ca11ac7d4c0c1c19a2259ef45eae9d7832 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Tue, 8 Feb 2022 22:44:31 +0800 Subject: [PATCH] libc/spawn: Fix typo in comments Signed-off-by: Huang Qi --- libs/libc/spawn/lib_psfa_adddup2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/spawn/lib_psfa_adddup2.c b/libs/libc/spawn/lib_psfa_adddup2.c index c162079f7bc..c05e2705264 100644 --- a/libs/libc/spawn/lib_psfa_adddup2.c +++ b/libs/libc/spawn/lib_psfa_adddup2.c @@ -51,7 +51,7 @@ * Input Parameters: * file_actions - The posix_spawn_file_actions_t to append the action. * fd1 - The first file descriptor to be argument to dup2. - * fd2 - The first file descriptor to be argument to dup2. + * fd2 - The second file descriptor to be argument to dup2. * * Returned Value: * On success, these functions return 0; on failure they return an error