Skip to content

Commit 29eac8e

Browse files
committed
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
1 parent a5a3e78 commit 29eac8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/log/logfile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121

2222
FILE *__log_file;
2323

24-
__attribute__((__constructor__(60))) static void loginit(void) {
24+
__attribute__((__constructor__(61))) static void loginit(void) {
2525
__log_file = stderr;
2626
}

0 commit comments

Comments
 (0)