summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_sync.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-01 19:47:28 +0000
committertedu <tedu@openbsd.org>2013-06-01 19:47:28 +0000
commit654c29f69c884022aadd56d208bd0044a719a467 (patch)
treee00e2d9e7ca3f2ab07cbc9784f954e4993bb310b /lib/librthread/rthread_sync.c
parentRestart the keepalive timer whenever a LDP PDU is sent. There is no need (diff)
downloadwireguard-openbsd-654c29f69c884022aadd56d208bd0044a719a467.tar.xz
wireguard-openbsd-654c29f69c884022aadd56d208bd0044a719a467.zip
fix wrong fn name in debug
Diffstat (limited to 'lib/librthread/rthread_sync.c')
-rw-r--r--lib/librthread/rthread_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread_sync.c b/lib/librthread/rthread_sync.c
index 077ecbc7d56..394c0d4b503 100644
--- a/lib/librthread/rthread_sync.c
+++ b/lib/librthread/rthread_sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_sync.c,v 1.36 2012/04/14 12:07:49 kurt Exp $ */
+/* $OpenBSD: rthread_sync.c,v 1.37 2013/06/01 19:47:28 tedu Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* Copyright (c) 2012 Philip Guenther <guenther@openbsd.org>
@@ -445,7 +445,7 @@ pthread_cond_wait(pthread_cond_t *condp, pthread_mutex_t *mutexp)
if ((error = pthread_cond_init(condp, NULL)))
return (error);
cond = *condp;
- _rthread_debug(5, "%p: cond_timed %p,%p\n", (void *)self,
+ _rthread_debug(5, "%p: cond_wait %p,%p\n", (void *)self,
(void *)cond, (void *)mutex);
if (mutex == NULL)