diff options
Diffstat (limited to 'libcons/cons-switch.c')
-rw-r--r-- | libcons/cons-switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcons/cons-switch.c b/libcons/cons-switch.c index c39e83da..752af97e 100644 --- a/libcons/cons-switch.c +++ b/libcons/cons-switch.c @@ -56,6 +56,7 @@ cons_switch (vcons_t vcons, int id, int delta, vcons_t *r_vcons) else { assert (delta < 0); + vcons_entry = vcons->vcons_entry; while (delta++ < 0) { vcons_entry = vcons_entry->prev; |