ecore_fb: @fix use of uninitialized values reported by valgrind.

This commit is contained in:
Gustavo Sverzut Barbieri 2014-03-06 11:12:44 -03:00
parent 8ddb826378
commit 78a9830a40
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ _ecore_fb_vt_setup(void)
ioctl(_ecore_fb_vt_tty_fd, KDGKBMODE, &_ecore_fb_tty_prev_mode);
/* support of switching */
memset(&new_vtmode, 0, sizeof(new_vtmode));
new_vtmode.mode = VT_PROCESS;
new_vtmode.waitv = 0;
new_vtmode.relsig = SIGUSR1;