mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
initialize structure to 0
This commit is contained in:
parent
4239c79497
commit
36e3dd8abe
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ static int
|
|||
get_active_vt (void)
|
||||
{
|
||||
int console_fd;
|
||||
struct vt_stat console_state;
|
||||
struct vt_stat console_state = { 0 };
|
||||
|
||||
console_fd = open ("/dev/tty0", O_RDONLY | O_NOCTTY);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue