summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-08-11 05:16:00 +0000
committerWarner Losh <imp@FreeBSD.org>2001-08-11 05:16:00 +0000
commite54b5dd9ff9eefcecb90af381b5e3cd8efd8f230 (patch)
tree11c644e047529e3ce340f86cfe21ea36431b3e76 /lib/libpthread/thread
parent86a02c1326dd281a41e539547fd0fe9b2080f3a8 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r--lib/libpthread/thread/thr_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c
index 0eddb224dd8b..305a2b980ece 100644
--- a/lib/libpthread/thread/thr_info.c
+++ b/lib/libpthread/thread/thr_info.c
@@ -277,7 +277,7 @@ dump_thread(int fd, pthread_t pthread, int long_version)
/* Set the thread name for debug: */
void
-_pthread_set_name_np(pthread_t thread, char *name)
+_pthread_set_name_np(pthread_t thread, const char *name)
{
/* Check if the caller has specified a valid thread: */
if (thread != NULL && thread->magic == PTHREAD_MAGIC) {