Fix regression in logger functions

The recent release broke things so that the logger wasn't logging by
default. This ensures that `__log_file` initializes in correct order
This commit is contained in:
Justine Tunney 2024-02-22 14:08:20 -08:00
parent a5a3e78fcf
commit 29eac8e2a2
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -21,6 +21,6 @@
FILE *__log_file;
__attribute__((__constructor__(60))) static void loginit(void) {
__attribute__((__constructor__(61))) static void loginit(void) {
__log_file = stderr;
}