mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 17:08:35 +02:00
main: corrected error in read_consoles_from_file
This commit is contained in:
parent
87b27bd1a8
commit
c20cd45346
1 changed files with 1 additions and 1 deletions
|
|
@ -1935,7 +1935,7 @@ add_consoles_from_file (state_t *state,
|
|||
if (strcmp (console, "tty0") != 0)
|
||||
state->should_force_details = true;
|
||||
|
||||
asprintf (&console_device, "/dev/%s", contents);
|
||||
asprintf (&console_device, "/dev/%s", console);
|
||||
|
||||
free (console);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue