tty: vt, fix bogus division in csi_J
[pandora-kernel.git] / drivers / tty / vt / vt.c
index 4df5cff..97eb987 100644 (file)
@@ -1197,7 +1197,7 @@ static void csi_J(struct vc_data *vc, int vpar)
                        break;
                case 3: /* erase scroll-back buffer (and whole display) */
                        scr_memsetw(vc->vc_screenbuf, vc->vc_video_erase_char,
-                                   vc->vc_screenbuf_size >> 1);
+                                   vc->vc_screenbuf_size);
                        set_origin(vc);
                        if (CON_IS_VISIBLE(vc))
                                update_screen(vc);