aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index 071323e..612c3e0 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -27,7 +27,7 @@ void test_entry(void)
sys0_64(SYS_TIME, &ti);
sys0(SYS_YIELD);
sys0_64(SYS_TIME, &tf);
- dt += tf - ti;
+ dt = tf - ti;
DRAW64(34, 19, dt/64);
DRAW64(34+17, 19, dt%64);
add_thread(btest, 0, 4);