From 2103fb014f00c03ac52efce2d7b29fb8fff23ca9 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 19 May 2008 23:19:13 -0400 Subject: dump output of boot buffer when showing details plugin --- src/splash-plugins/details/details.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/splash-plugins') diff --git a/src/splash-plugins/details/details.c b/src/splash-plugins/details/details.c index de4749d..c5142a2 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; } -- cgit