lkml.org 
[lkml]   [2008]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2008-10-18 13:59    [W:0.656 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site