From 167351020420c285b67cdf0603501b3d3b15e3f7 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 24 Feb 2012 12:43:44 +0100 Subject: Remove screendump dummy functions. The code in console.c verifies whenever a screen_dump function pointer is present before calling it, so there is no need to supply an dummy function. Remove them. Also report an error to notify the user that he didn't got a screenshot. Signed-off-by: Anthony Liguori --- console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'console.c') diff --git a/console.c b/console.c index 744ef2d..df058b8 100644 --- a/console.c +++ b/console.c @@ -184,6 +184,8 @@ void vga_hw_screen_dump(const char *filename) console_select(0); if (consoles[0] && consoles[0]->hw_screen_dump) { consoles[0]->hw_screen_dump(consoles[0]->hw, filename); + } else { + error_report("screen dump not implemented"); } if (previous_active_console) { -- cgit v1.1