mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
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:
parent
a5a3e78fcf
commit
29eac8e2a2
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@
|
|||
|
||||
FILE *__log_file;
|
||||
|
||||
__attribute__((__constructor__(60))) static void loginit(void) {
|
||||
__attribute__((__constructor__(61))) static void loginit(void) {
|
||||
__log_file = stderr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue