]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/posix-fdtab: Fix docstring of `uk_fdtab_open`
authorSergiu Moga <sergiu@unikraft.io>
Thu, 27 Mar 2025 17:30:49 +0000 (19:30 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 23 Apr 2025 10:01:21 +0000 (10:01 +0000)
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 <sergiu@unikraft.io>
Approved-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1619

lib/posix-fdtab/include/uk/posix-fdtab.h

index 44b317a4bff44c4c7c679a5aa0e28a10478b359d..6247697585092654aa31c370086f762293fc1e32 100644 (file)
@@ -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