summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-12-29 11:35:55 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-12-29 11:35:55 +0000
commit4b0b2232ddc2400195b4e6d50d2617f49b2a34b8 (patch)
treeefe64f10af1eaf454b6fd64d0213af7966a38509 /lib
parent849091e61952fb90d59ea9e98ffd63d334f38894 (diff)
the story in pthread_rwlockattr_destory() shoudl be destroyed
Diffstat (limited to 'lib')
-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 012312754c4..e5bd30a3635 100644
--- a/lib/librthread/rthread_sync.c
+++ b/lib/librthread/rthread_sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_sync.c,v 1.12 2005/12/22 06:49:48 tedu Exp $ */
+/* $OpenBSD: rthread_sync.c,v 1.13 2005/12/29 11:35:54 otto Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -608,7 +608,7 @@ pthread_rwlockattr_init(pthread_rwlockattr_t *attrp)
}
int
-pthread_rwlockattr_destory(pthread_rwlockattr_t *attrp)
+pthread_rwlockattr_destroy(pthread_rwlockattr_t *attrp)
{
free(*attrp);
*attrp = NULL;