Messages in this thread | | | Date | Sat, 18 Oct 2008 07:57:12 -0400 | From | Christoph Hellwig <> | Subject | Re: [PATCH] vt: incomplete initialization of vc_tab_stop |
| |
On Sat, Oct 18, 2008 at 01:49:31PM +0200, Wolfgang Kroworsch wrote: > vc->vc_tab_stop[1] = > vc->vc_tab_stop[2] = > vc->vc_tab_stop[3] = > - vc->vc_tab_stop[4] = 0x01010101; > + vc->vc_tab_stop[4] = > + vc->vc_tab_stop[5] = > + vc->vc_tab_stop[6] = > + vc->vc_tab_stop[7] = 0x01010101; > > + vc->vc_tab_stop[4] = > + vc->vc_tab_stop[5] = > + vc->vc_tab_stop[6] = > + vc->vc_tab_stop[7] = 0;
Using memset might be a beter idea.
| |