diff options
Diffstat (limited to 'src/elfs/elfloader.c')
| -rw-r--r-- | src/elfs/elfloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index 9a7266f9..9b09d042 100644 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -41,9 +41,9 @@ #include "../tools/bridge_private.h" #include "x64tls.h" -void* my__IO_2_1_stderr_ = NULL; -void* my__IO_2_1_stdin_ = NULL; -void* my__IO_2_1_stdout_ = NULL; +void* my__IO_2_1_stderr_ = (void*)1; +void* my__IO_2_1_stdin_ = (void*)2; +void* my__IO_2_1_stdout_ = (void*)3; // return the index of header (-1 if it doesn't exist) static int getElfIndex(box64context_t* ctx, elfheader_t* head) { |