aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-06-11 14:19:51 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-06-11 14:21:33 -0600
commit2757c19b151d470839e42cc131010809d63203bf (patch)
treee9cd05a767273bf6d28a0459821605b952ead3a4 /main.c
parentdd36cce8c47bb0e17a789cf2bd95a51e29b59e78 (diff)
downloadwbg-2757c19b151d470839e42cc131010809d63203bf.tar.gz
replace fprintf with LOG_ERR to log a image failed to load
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ac0b743..9f2d2f5 100644
--- a/main.c
+++ b/main.c
@@ -420,7 +420,7 @@ main(int argc, const char *const *argv)
image = svg_load(fp, image_path);
#endif
if (image == NULL) {
- fprintf(stderr, "error: %s: failed to load\n", image_path);
+ LOG_ERR("%s: failed to load", image_path);
fclose(fp);
return EXIT_FAILURE;
}