diff options
-rw-r--r-- | os/kernel/include/vt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/kernel/include/vt.h b/os/kernel/include/vt.h index 003cffd45..9fdde5576 100644 --- a/os/kernel/include/vt.h +++ b/os/kernel/include/vt.h @@ -89,7 +89,8 @@ extern VTList vtlist; while (!(vtp = vtlist.vt_next)->vt_time) { \
vtfunc_t fn = vtp->vt_func; \
vtp->vt_func = NULL; \
- (vtp->vt_next->vt_prev = (void *)&vtlist)->vt_next = vtp->vt_next;\
+ vtp->vt_next->vt_prev = (void *)&vtlist; \
+ (&vtlist)->vt_next = vtp->vt_next; \
fn(vtp->vt_par); \
} \
} \
|