aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-09 03:33:14 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-09 03:33:14 +0200
commit1c8174674d522a2c55b4f143f7e0dac848e34281 (patch)
tree5cb1d9c51036fb7993bb1bd43ad99089fed77721 /src/common/error.c
parent9dd0fcbeaed19c362ed2d1071d2ea967572b67f4 (diff)
downloadblogc-1c8174674d522a2c55b4f143f7e0dac848e34281.tar.gz
blogc-1c8174674d522a2c55b4f143f7e0dac848e34281.tar.bz2
blogc-1c8174674d522a2c55b4f143f7e0dac848e34281.zip
blogc: common: moved "file" to common
Diffstat (limited to 'src/common/error.c')
-rw-r--r--src/common/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/error.c b/src/common/error.c
index 1ea6e0d..a6a5f24 100644
--- a/src/common/error.c
+++ b/src/common/error.c
@@ -112,6 +112,9 @@ bc_error_print(bc_error_t *err)
case BC_ERROR_CONFIG_PARSER:
fprintf(stderr, "error: config-parser: %s\n", err->msg);
break;
+ case BC_ERROR_FILE:
+ fprintf(stderr, "error: file: %s\n", err->msg);
+ break;
case BLOGC_ERROR_SOURCE_PARSER:
fprintf(stderr, "error: source: %s\n", err->msg);
break;
@@ -121,9 +124,6 @@ bc_error_print(bc_error_t *err)
case BLOGC_ERROR_LOADER:
fprintf(stderr, "error: loader: %s\n", err->msg);
break;
- case BLOGC_ERROR_FILE:
- fprintf(stderr, "error: file: %s\n", err->msg);
- break;
case BLOGC_WARNING_DATETIME_PARSER:
fprintf(stderr, "warning: datetime: %s\n", err->msg);
break;