From b76c51120f4556a27092b2f107cf0e3aabf2ec16 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 3 Nov 2022 17:36:54 +0000 Subject: Tests: Decoder: Improve warning logging --- test/nsgif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/nsgif.c b/test/nsgif.c index 4a9e31c..5ad9116 100644 --- a/test/nsgif.c +++ b/test/nsgif.c @@ -137,8 +137,7 @@ static uint8_t *load_file(const char *path, size_t *data_size) static void warning(const char *context, nsgif_error err) { - fprintf(stderr, "%s failed: %s\n", - context, nsgif_strerror(err)); + fprintf(stderr, "%s: %s\n", context, nsgif_strerror(err)); } static void print_gif_info(const nsgif_info_t *info) -- cgit v1.2.3