From 792f302acee3122ed0f9469d8676dbb271f60849 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Fri, 9 Jun 2023 17:27:41 +0000 Subject: use fatal/fatalx instead of err/errx in daemon code --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 11d4250..ecbb728 100644 --- a/parse.y +++ b/parse.y @@ -442,7 +442,7 @@ fastcgi : string { | TCP string PORT NUM { char *c; if (asprintf(&c, "%d", $4) == -1) - err(1, "asprintf"); + fatal("asprintf"); loc->fcgi = fastcgi_conf($2, c); free($2); } @@ -476,7 +476,7 @@ medianames_l : medianames_l medianamesl medianamesl : numberstring { if (add_mime(&conf->mime, current_media, $1) == -1) - err(1, "add_mime"); + fatal("add_mime"); free($1); } ; -- cgit v1.2.3