aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/crt/crt0.c
diff options
context:
space:
mode:
authorMarvin Borner2021-06-18 22:30:25 +0200
committerMarvin Borner2021-06-18 22:30:25 +0200
commit02a0c882275959c0fbd58754418ecc1218821e76 (patch)
tree7174e4c11a030b6bd7081a71ffa3bd6eee194c4e /libs/libc/crt/crt0.c
parentb3d8e50aab8f3587f510db13ac8dcbb82e287998 (diff)
Renamed device prefix from 'io_' to 'dev_'
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();