From 014ddfe40d951fbebc866c87f58b60b64868a670 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Sun, 4 Jun 2023 12:07:41 +1100
Subject: [PATCH] remove call of errno

---
 src/extra-tools/execl-envfile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/extra-tools/execl-envfile.c b/src/extra-tools/execl-envfile.c
index d106b276..6555d219 100644
--- a/src/extra-tools/execl-envfile.c
+++ b/src/extra-tools/execl-envfile.c
@@ -55,9 +55,9 @@ static void parse_env_var(stralloc *result, char const *line) ;
 static void die_or_exec(char const *path, uint8_t insist, char const *const *argv, char const *const *envp)
 {
     if (insist)
-        log_dieusys(LOG_EXIT_SYS, "get environment from: ", path) ;
+        log_dieu(LOG_EXIT_SYS, "get environment from: ", path) ;
     else
-        log_warnusys("get environment from: ", path) ;
+        log_warnu("get environment from: ", path) ;
 
     xexec_ae(argv[0], argv, envp) ;
 }
-- 
GitLab