From: Ray Strode Date: Tue, 20 May 2008 03:19:13 +0000 (-0400) Subject: dump output of boot buffer when showing details plugin X-Git-Tag: 0.1.0~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2103fb014f00c03ac52efce2d7b29fb8fff23ca9;p=thirdparty%2Fplymouth.git dump output of boot buffer when showing details plugin --- diff --git a/src/splash-plugins/details/details.c b/src/splash-plugins/details/details.c index de4749d9..c5142a28 100644 --- a/src/splash-plugins/details/details.c +++ b/src/splash-plugins/details/details.c @@ -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; }