From 0fe401d0a73d545999afccdca08105b3623fb1fe Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 23 May 2026 01:35:18 -0400 Subject: core: Add logging helpers Signed-off-by: Ian Moffett --- core/cescal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/cescal.c') 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 #include #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; } -- cgit v1.2.3