aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/crt/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/crt/crt0.c')
-rw-r--r--libs/libc/crt/crt0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libc/crt/crt0.c b/libs/libc/crt/crt0.c
index 9e41ae2..409ec19 100644
--- a/libs/libc/crt/crt0.c
+++ b/libs/libc/crt/crt0.c
@@ -16,7 +16,7 @@ int _start(int argc, char **argv);
int _start(int argc, char **argv)
{
struct timer timer = { 0 };
- assert(io_read(IO_TIMER, &timer, 0, sizeof(timer)) == sizeof(timer));
+ assert(dev_read(DEV_TIMER, &timer, 0, sizeof(timer)) == sizeof(timer));
srand(timer.rtc + timer.time);
__stack_chk_guard = rand();