summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/src/trv_texturefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/src/trv_texturefile.c')
-rw-r--r--apps/graphics/traveler/src/trv_texturefile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/graphics/traveler/src/trv_texturefile.c b/apps/graphics/traveler/src/trv_texturefile.c
index 8fb5d2404..671e01c83 100644
--- a/apps/graphics/traveler/src/trv_texturefile.c
+++ b/apps/graphics/traveler/src/trv_texturefile.c
@@ -178,7 +178,7 @@ static void trv_quantize_texture(FAR struct trv_graphicfile_s *gfile,
*
***************************************************************************/
-FAR struct trv_bitmap_s *trv_read_texture(char *filename)
+FAR struct trv_bitmap_s *trv_read_texture(FAR const char *filename)
{
FAR struct trv_graphicfile_s *gfile;
FAR struct trv_bitmap_s *bitmap;
@@ -186,7 +186,7 @@ FAR struct trv_bitmap_s *trv_read_texture(char *filename)
gfile = tvr_graphicfile_read(filename);
if (gfile == NULL)
{
- fprintf(stderr, "Error reading texture %s.", filename);
+ fprintf(stderr, "ERROR: Read failed for texture %s\n", filename);
return NULL;
}