summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index beb84ee77f..dea25bff27 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -295,7 +295,7 @@ void gui_message_loop(void)
do {
/* wait for the next event */
if(SDL_WaitEvent(&event) == 0) {
- printf("SDL_WaitEvent() error\n");
+ printf("SDL_WaitEvent(): %s\n", SDL_GetError());
return; /* error, out of here */
}