summaryrefslogtreecommitdiff
path: root/kernel/cpu/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu/syscall.c')
-rw-r--r--kernel/cpu/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c
index 7653c6a..9c3dde0 100644
--- a/kernel/cpu/syscall.c
+++ b/kernel/cpu/syscall.c
@@ -227,7 +227,7 @@ void *syscall_mmap(SYS_MMAP_PARAMS *args) {
void syscall_msleep(u32 ms) {
struct timespec t;
timer_get(&t);
- current_task->sleep_until = timer_get_ms() + ms;
+ current_task->sleep_until = timer_get_uptime() + ms;
switch_task();
}