summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cescal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cescal.c b/core/cescal.c
index b9a2c17..6c828e1 100644
--- a/core/cescal.c
+++ b/core/cescal.c
@@ -6,6 +6,7 @@
#include <stdio.h>
#include <unistd.h>
#include "cescal/state.h"
+#include "cescal/log.h"
static void
help(void)
@@ -37,7 +38,7 @@ main(int argc, char **argv)
int opt;
if (argc < 2) {
- printf("fatal: too few arguments\n");
+ cc_error("too few arguments\n");
help();
return -1;
}