9
0
Fork 0

splash: Print error message when no renderer is found

the splash command silently fails when no renderer is found for
an image type. Print an error message in this case.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-03-13 08:48:32 +01:00
parent 81b4c03a2b
commit 380ebff70f
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ static struct image_renderer *get_renderer(void* buf, size_t bufsize)
return ir;
}
eprintf("No renderer found for filetype %s\n", file_type_to_string(type));
return NULL;
}