]> git.pld-linux.org Git - packages/plymouth.git/commitdiff
- use correct variable for console string
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 27 Apr 2012 10:30:57 +0000 (10:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    check_for_consoles.patch -> 1.2

check_for_consoles.patch

index fd1e69dcdc45fdaccc5b7f89964972fe658d592f..f088df20d57f9044403a04efc366b974ab4cdd1d 100644 (file)
@@ -21,7 +21,7 @@ index e4223b7..c85fe4c 100644
    char *console;
  
    ply_trace ("opening %s", path);
-@@ -1888,60 +1890,84 @@ add_consoles_from_file (state_t         *state,
+@@ -1888,60 +1890,86 @@ add_consoles_from_file (state_t         *state,
    if (fd < 0)
      {
        ply_trace ("couldn't open it: %m");
@@ -86,10 +86,9 @@ index e4223b7..c85fe4c 100644
 +      if (strcmp (console, "tty0") != 0)
 +        state->should_force_details = true;
  
--      asprintf (&console_device, "/dev/%s", console);
--      free (console);
--      console = NULL;
-+      asprintf (&console_device, "/dev/%s", remaining_file_contents);
+       asprintf (&console_device, "/dev/%s", console);
+       free (console);
+       console = NULL;
  
        ply_trace ("console %s found!", console_device);
        ply_hashtable_insert (consoles, console_device, console_device);
This page took 0.274861 seconds and 4 git commands to generate.