]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: (pidfd-utils) minor correction in the ul_get_valid_pidfd_or_err() description
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 21 Dec 2025 01:03:57 +0000 (20:03 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 8 Jan 2026 01:08:23 +0000 (20:08 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
lib/pidfd-utils.c

index 32b67a3b19775cc4a84a8818811ec9feb84dba85..895f6e75239f112a3496156b5b0b4e278a8248cf 100644 (file)
@@ -55,7 +55,7 @@ uint64_t pidfd_get_inode(int pidfd)
  * @pfd_ino: A pidfd inode number that is expected to be the
  *           same as for the new file descriptor.
  *
- * Pass @pfd_ino as NULL, if the pidfd should not be validated.
+ * Pass @pfd_ino as 0, if the pidfd should not be validated.
  *
  * Return: On success, a file descriptor is returned.
  *         On failure, err() or errx() is called to