diff options
Diffstat (limited to 'libs/libc/crt/crt0.c')
-rw-r--r-- | libs/libc/crt/crt0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libc/crt/crt0.c b/libs/libc/crt/crt0.c index 3bd413f..d264d61 100644 --- a/libs/libc/crt/crt0.c +++ b/libs/libc/crt/crt0.c @@ -18,7 +18,7 @@ int _start(int argc, char **argv) u32 stamp = 0; assert(read("/dev/rtc", &stamp, 0, sizeof(stamp)) == sizeof(stamp) && stamp); srand(stamp); - rand_fill(&__stack_chk_guard, sizeof(__stack_chk_guard)); + __stack_chk_guard = rand(); exit(main(argc, argv)); |