diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-05-19 23:19:13 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-05-19 23:19:13 -0400 |
| commit | 2103fb014f00c03ac52efce2d7b29fb8fff23ca9 (patch) | |
| tree | dc351e28ce6c9374bf671def6e3f15dcbd77b24f /src | |
| parent | 227418f36bdcbd9f065657d7656f763f24c191ba (diff) | |
| download | plymouth-2103fb014f00c03ac52efce2d7b29fb8fff23ca9.tar.gz plymouth-2103fb014f00c03ac52efce2d7b29fb8fff23ca9.tar.xz plymouth-2103fb014f00c03ac52efce2d7b29fb8fff23ca9.zip | |
dump output of boot buffer when showing details plugin
Diffstat (limited to 'src')
| -rw-r--r-- | src/splash-plugins/details/details.c | 9 |
1 files changed, 8 insertions, 1 deletions
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; } |
