diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-03-03 22:36:18 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-03-03 23:06:32 +0100 |
| commit | 9b4d747db7d9d7faf06d7978dba0eb8409e391a3 (patch) | |
| tree | 06578347bafa41f58463761af6f920b171b2a0e9 /man3 | |
| parent | e82f7bbb11add8f23e026744aca908fcdfc78739 (diff) | |
| download | man-pages-9b4d747db7d9d7faf06d7978dba0eb8409e391a3.tar.gz | |
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>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/pthread_create.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/pthread_create.3 b/man3/pthread_create.3 index 01b602f66f..c28291457d 100644 --- a/man3/pthread_create.3 +++ b/man3/pthread_create.3 @@ -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) |
