mirror of https://github.com/mkerrisk/man-pages
pthread_create.3: Fix undeclared variable error in example program
Reported-by: Paran Lee <p4ranlee@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e82f7bbb11
commit
9b4d747db7
|
@ -312,7 +312,7 @@ thread_start(void *arg)
|
|||
char *uargv;
|
||||
|
||||
printf("Thread %d: top of stack near %p; argv_string=%s\en",
|
||||
tinfo\->thread_num, &p, tinfo\->argv_string);
|
||||
tinfo\->thread_num, (void *) &tinfo, tinfo\->argv_string);
|
||||
|
||||
uargv = strdup(tinfo\->argv_string);
|
||||
if (uargv == NULL)
|
||||
|
|
Loading…
Reference in New Issue