diff options
author | 2003-12-23 20:10:45 +0000 | |
---|---|---|
committer | 2003-12-23 20:10:45 +0000 | |
commit | 38fb14eac353e081cf41c9d9f03c922e9ecf51a0 (patch) | |
tree | d7877a48f3c1354657e5cf1a2af93c0ac40bf385 /lib/libpthread/uthread | |
parent | Use getopt(3) correctly. (diff) | |
download | wireguard-openbsd-38fb14eac353e081cf41c9d9f03c922e9ecf51a0.tar.xz wireguard-openbsd-38fb14eac353e081cf41c9d9f03c922e9ecf51a0.zip |
change the variable name used for status checking,
LIBC_R_DEBUG -> LIBPTHREAD_DEBUG
ok marc@
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_gc.c b/lib/libpthread/uthread/uthread_gc.c index 1fb1e56be4a..d59708d753d 100644 --- a/lib/libpthread/uthread/uthread_gc.c +++ b/lib/libpthread/uthread/uthread_gc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_gc.c,v 1.12 2003/01/31 04:46:17 marc Exp $ */ +/* $OpenBSD: uthread_gc.c,v 1.13 2003/12/23 20:10:45 brad Exp $ */ /* * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -66,7 +66,7 @@ _thread_gc(pthread_addr_t arg) curthread->flags |= PTHREAD_FLAGS_PRIVATE; /* Set a debug flag based on an environment variable. */ - f_debug = (getenv("LIBC_R_DEBUG") != NULL); + f_debug = (getenv("LIBPTHREAD_DEBUG") != NULL); /* Set the name of this thread. */ pthread_set_name_np(curthread, (char *)"GC"); |