packages: plymouth/check_for_consoles.patch - use correct variable for cons...
baggins
baggins at pld-linux.org
Fri Apr 27 12:31:03 CEST 2012
Author: baggins Date: Fri Apr 27 10:31:03 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- use correct variable for console string
---- Files affected:
packages/plymouth:
check_for_consoles.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/plymouth/check_for_consoles.patch
diff -u packages/plymouth/check_for_consoles.patch:1.1 packages/plymouth/check_for_consoles.patch:1.2
--- packages/plymouth/check_for_consoles.patch:1.1 Thu Apr 26 14:52:24 2012
+++ packages/plymouth/check_for_consoles.patch Fri Apr 27 12:30:57 2012
@@ -21,7 +21,7 @@
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 @@
+ 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);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/plymouth/check_for_consoles.patch?r1=1.1&r2=1.2
More information about the pld-cvs-commit
mailing list