On Mon, Apr 1, 2013 at 9:33 PM, Andrew Clayton <andrew@xxxxxxxxxxxxxxxxxx> wrote: > i.e > > pthread_t thread; > > pthread_setname_np(thread, ...); > > and not > > pthread_setname_np(&thread, ...); > > Signed-off-by: Andrew Clayton <andrew@xxxxxxxxxxxxxxxxxx> Thanks Andrew. Applied. Cheers, Michael > --- > man3/pthread_setname_np.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3 > index b6b4563..3dca000 100644 > --- a/man3/pthread_setname_np.3 > +++ b/man3/pthread_setname_np.3 > @@ -30,8 +30,8 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread > .nf > .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" > .B #include <pthread.h> > -.BI "int pthread_setname_np(pthread_t *" thread ", const char *" name "); > -.BI "int pthread_getname_np(pthread_t *" thread , > +.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 ); > .fi > .sp > -- > 1.8.1.4 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- 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