projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo in lib/lock.c (fixes compilation on Darwin)
[gnulib.git]
/
lib
/
lock.c
diff --git
a/lib/lock.c
b/lib/lock.c
index
709da69
..
4d97fa4
100644
(file)
--- a/
lib/lock.c
+++ b/
lib/lock.c
@@
-372,7
+372,7
@@
glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
}
err = pthread_mutexattr_destroy (&attributes);
if (err != 0)
}
err = pthread_mutexattr_destroy (&attributes);
if (err != 0)
- return
ret
;
+ return
err
;
lock->initialized = 1;
return 0;
}
lock->initialized = 1;
return 0;
}