From 56d0fbf68ebcb99506d7aef3ab4e1249aa1ae0cb Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 9 May 2021 14:05:03 +0800 Subject: [PATCH] nuttx/fs/fs.h: Correct the comment for the return value of nx_dup2 Signed-off-by: Xiang Xiao --- include/nuttx/fs/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index 4438598127..ec497b2af3 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -795,7 +795,7 @@ int file_dup2(FAR struct file *filep1, FAR struct file *filep2); * applications. * * Returned Value: - * Zero (OK) is returned on success; a negated errno value is return on + * fd2 is returned on success; a negated errno value is return on * any failure. * ****************************************************************************/