aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/error.c
diff options
context:
space:
mode:
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;