summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-28 18:23:45 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-28 18:23:45 +0100
commit757b6bf6feb3f1aba3d882f5dbe3b8b850f05294 (patch)
tree4972893163543cdc3f7466e6f4bb560fc104250e /trans
parent8cd75c4d6b229bb4e3de9264466731e3a32e0133 (diff)
parent18b7cc99f467d541c8cbf9abb3ee85a41ef8f472 (diff)
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd
Diffstat (limited to 'trans')
-rw-r--r--trans/hello-mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/hello-mt.c b/trans/hello-mt.c
index 632d3730..c2d4cc99 100644
--- a/trans/hello-mt.c
+++ b/trans/hello-mt.c
@@ -111,7 +111,7 @@ close_hook (struct trivfs_peropen *peropen)
{
struct open *op = peropen->hook;
- pthread_mutex_init (&op->lock, NULL);
+ pthread_mutex_destroy (&op->lock);
free (op);
}