diff options
Diffstat (limited to 'src/stdio/ftrylockfile.c')
-rw-r--r-- | src/stdio/ftrylockfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/ftrylockfile.c b/src/stdio/ftrylockfile.c index eef4e250..56cccafd 100644 --- a/src/stdio/ftrylockfile.c +++ b/src/stdio/ftrylockfile.c @@ -4,7 +4,7 @@ int ftrylockfile(FILE *f) { - int tid = pthread_self()->tid; + int tid = __pthread_self()->tid; if (f->lock == tid) { if (f->lockcount == LONG_MAX) return -1; |