fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / stderr.c
index 9a70700ceaa04b62ba88d7b97b1621df149fb6c8..3fd8f81d76ec4ed4cef8680914b822be55067831 100644 (file)
@@ -10,5 +10,7 @@ static FILE f = {
        .write = __stdio_write,
        .seek = __stdio_seek,
        .close = __stdio_close,
+       .lock = -1,
 };
 FILE *const stderr = &f;
+FILE *const __stderr_used = &f;