aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-13 18:36:48 -0700
committerChristian Cunningham <cc@localhost>2022-02-13 18:36:48 -0700
commitbbbe910a6cd7891e57e6e15ca0212f89ab230995 (patch)
treefc80e1826b3f8d6ac4d71691aa70c9b80aac37d7
parent1a5a0e5cd6f82535c80f7a88b2b4dfac222fa2bb (diff)
Fixed test result
-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);