aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/main.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
commit0c7753ef37f875b288fc8c5d1c6a64fa61f4d149 (patch)
tree9f9b5d517f8bbba1b4f9eae3dc521cc7826692e0 /src/blogc/main.c
parent1c8174674d522a2c55b4f143f7e0dac848e34281 (diff)
downloadblogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.gz
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.bz2
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.zip
error: added prefix support to bc_error_print
Diffstat (limited to 'src/blogc/main.c')
-rw-r--r--src/blogc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc/main.c b/src/blogc/main.c
index 992b9e7..35d9f69 100644
--- a/src/blogc/main.c
+++ b/src/blogc/main.c
@@ -223,7 +223,7 @@ main(int argc, char **argv)
bc_slist_t *s = blogc_source_parse_from_files(config, sources, &err);
if (err != NULL) {
- bc_error_print(err);
+ bc_error_print(err, "blogc");
rv = 2;
goto cleanup2;
}
@@ -250,7 +250,7 @@ main(int argc, char **argv)
bc_slist_t* l = blogc_template_parse_from_file(template, &err);
if (err != NULL) {
- bc_error_print(err);
+ bc_error_print(err, "blogc");
rv = 2;
goto cleanup3;
}