From 4ee5d840698b490423aaef7e934fe90ee18ce81c Mon Sep 17 00:00:00 2001 From: Sergiu Moga Date: Thu, 27 Mar 2025 19:30:49 +0200 Subject: [PATCH] lib/posix-fdtab: Fix docstring of `uk_fdtab_open` Commit 5050e9f11e57 ("lib/posix-fd: Move heap-alloc ofiles out of fdtab") did `s/uk_fdtab_ret/uk_ofile_release` across the codebase but forgot to update the comment for `uk_fdtab_open`. Do so now, indicating to use `uk_ofile_release` instead. Signed-off-by: Sergiu Moga Approved-by: Michalis Pappas Reviewed-by: Michalis Pappas Reviewed-by: Andrei Tatar GitHub-Closes: #1619 --- lib/posix-fdtab/include/uk/posix-fdtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posix-fdtab/include/uk/posix-fdtab.h b/lib/posix-fdtab/include/uk/posix-fdtab.h index 44b317a4b..624769758 100644 --- a/lib/posix-fdtab/include/uk/posix-fdtab.h +++ b/lib/posix-fdtab/include/uk/posix-fdtab.h @@ -69,7 +69,7 @@ int uk_fdtab_open_desc(struct uk_ofile *of, unsigned int mode); /** * Gets the open file description associated with descriptor `fd`. * - * Users should call uk_fdtab_ret when done with the open file reference. + * Users should call uk_ofile_release when done with the open file reference. * * @param fd * File descriptor to look up -- 2.39.5