aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/error.c6
-rw-r--r--src/common/error.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/common/error.c b/src/common/error.c
index 0b41ba7..03695e7 100644
--- a/src/common/error.c
+++ b/src/common/error.c
@@ -136,6 +136,12 @@ bc_error_print(bc_error_t *err, const char *prefix)
case BLOGC_MAKE_ERROR_EXEC:
fprintf(stderr, "error: exec: %s\n", err->msg);
break;
+ case BLOGC_MAKE_ERROR_ATOM:
+ fprintf(stderr, "error: atom: %s\n", err->msg);
+ break;
+ case BLOGC_MAKE_ERROR_UTILS:
+ fprintf(stderr, "error: utils: %s\n", err->msg);
+ break;
default:
fprintf(stderr, "error: %s\n", err->msg);
}
diff --git a/src/common/error.h b/src/common/error.h
index d8dd859..b85f006 100644
--- a/src/common/error.h
+++ b/src/common/error.h
@@ -28,6 +28,7 @@ typedef enum {
BLOGC_MAKE_ERROR_SETTINGS = 300,
BLOGC_MAKE_ERROR_EXEC,
BLOGC_MAKE_ERROR_ATOM,
+ BLOGC_MAKE_ERROR_UTILS,
} bc_error_type_t;