Thanks. Applied. Cheers, Michael On 05/21/2014 04:57 PM, Rasmus Villemoes wrote: > The name parameter of pthread_getname_np is an output parameter and > hence not const. > > Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> > --- > man3/pthread_setname_np.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3 > index a7c9286..b14c412 100644 > --- a/man3/pthread_setname_np.3 > +++ b/man3/pthread_setname_np.3 > @@ -32,7 +32,7 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread > .B #include <pthread.h> > .BI "int pthread_setname_np(pthread_t " thread ", const char *" name "); > .BI "int pthread_getname_np(pthread_t " thread , > -.BI " const char *" name ", size_t " len ); > +.BI " char *" name ", size_t " len ); > .fi > .sp > Compile and link with \fI\-pthread\fP. > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html