]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/PR_SET_NAME.2const: SYNOPSIS: Fix prototype
authorAlejandro Colomar <alx@kernel.org>
Wed, 3 Dec 2025 16:54:41 +0000 (17:54 +0100)
committerAlejandro Colomar <alx@kernel.org>
Wed, 3 Dec 2025 16:54:54 +0000 (17:54 +0100)
The array may be narrower than that.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/PR_SET_NAME.2const

index a7a319c27115d0e5c672d607c8af766960fac59d..d83b1be0e1ac6ef1d87f8c7710b538bdca456b1f 100644 (file)
@@ -16,7 +16,7 @@ Standard C library
 .BR "#include <linux/prctl.h>" "  /* Definition of " PR_* " constants */"
 .B #include <sys/prctl.h>
 .P
-.BI "int prctl(PR_SET_NAME, const char " name [16]);
+.BI "int prctl(PR_SET_NAME, const char *" name );
 .BI "int prctl(PR_GET_NAME, char " name [16]);
 .fi
 .SH DESCRIPTION