summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/estream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/estream.c b/common/estream.c
index 33195b739..a20d6d4e3 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -3300,7 +3300,7 @@ es_fileno_unlocked (estream_t stream)
{
es_syshd_t syshd;
- if (es_syshd (stream, &syshd))
+ if (es_syshd_unlocked (stream, &syshd))
return -1;
switch (syshd.type)
{