aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 21:45:06 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 21:45:06 +0100
commita2a80b22fb59a8114f9efde57d698b80a7054c4c (patch)
tree6ef39bd9a863685cdaf9100ed0e8ac94f1017f21
parent4f41e06880f4d9b979ec001da5046373cd867c2f (diff)
Use cerr() instead of err()
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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;