From a2a80b22fb59a8114f9efde57d698b80a7054c4c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 1 Nov 2024 21:45:06 +0100 Subject: Use cerr() instead of err() --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index a386362..1c54390 100644 --- a/src/main.c +++ b/src/main.c @@ -95,7 +95,7 @@ main(int argc, char **argv) break; case 'h': execlp("man", "man", "1", mlib_progname(), nullptr); - err("execlp: man 1 %s:", mlib_progname()); + cerr(EXIT_FATAL, "execlp: man 1 %s:", mlib_progname()); case 'H': if (ucseq(parser.optarg, U8("never"))) flags.H = HDR_NEVER; -- cgit v1.2.3