diff options
| author | Ian Moffett <ian@mirocom.org> | 2026-05-23 01:35:18 -0400 |
|---|---|---|
| committer | Ian Moffett <ian@mirocom.org> | 2026-05-23 01:35:18 -0400 |
| commit | 0fe401d0a73d545999afccdca08105b3623fb1fe (patch) | |
| tree | d02fde35992990811f89092ebcde6ebf87b6fd30 /core/cescal.c | |
| parent | a356913c397265bc8d9454b0c5dc43c8c898e1b5 (diff) | |
core: Add logging helpers
Signed-off-by: Ian Moffett <ian@mirocom.org>
Diffstat (limited to 'core/cescal.c')
| -rw-r--r-- | core/cescal.c | 3 |
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; } |
