]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
dump output of boot buffer when showing details plugin
authorRay Strode <rstrode@redhat.com>
Tue, 20 May 2008 03:19:13 +0000 (23:19 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 20 May 2008 03:19:13 +0000 (23:19 -0400)
src/splash-plugins/details/details.c

index de4749d9490e7614d6d8b6ca48956016e87ced7a..c5142a2871991b89598c0eaac9d317fca8135fc3 100644 (file)
@@ -83,9 +83,16 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
                     ply_window_t             *window,
                     ply_buffer_t             *boot_buffer)
 {
+  size_t size;
+
   assert (plugin != NULL);
 
-  ply_trace ("show splash screen");
+  size = ply_buffer_get_size (boot_buffer);
+
+  if (size > 0)
+    write (STDOUT_FILENO,
+           ply_buffer_get_bytes (boot_buffer),
+           size);
 
   return true;
 }