nuttx/fs/fs.h: Correct the comment for the return value of nx_dup2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-05-09 14:05:03 +08:00 committed by Abdelatif Guettouche
parent db517cc229
commit 56d0fbf68e

View File

@ -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.
*
****************************************************************************/