From ea2b67a78ba61808d9e0c24f947730cb8fead242 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 1 Feb 2019 08:56:48 +0000 Subject: Fix s6-sudoc error message when it fails to connect --- src/conn-tools/s6-sudoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conn-tools/s6-sudoc.c b/src/conn-tools/s6-sudoc.c index 18851e0..d46e398 100644 --- a/src/conn-tools/s6-sudoc.c +++ b/src/conn-tools/s6-sudoc.c @@ -60,7 +60,7 @@ int main (int argc, char const *const *argv, char const *const *envp) char tmp[S6_SUDO_BANNERB_LEN] ; r = buffer_timed_get_g(&b6, tmp, S6_SUDO_BANNERB_LEN, &deadline) ; if (!r) - strerr_dief1x(111, "connect to the s6-sudod server - check that you have appropriate permissions") ; + strerr_diefu1x(111, "connect to the s6-sudod server - check that you have appropriate permissions") ; if (r < S6_SUDO_BANNERB_LEN) strerr_diefu1sys(111, "read banner from s6-sudod") ; if (strncmp(tmp, S6_SUDO_BANNERB, S6_SUDO_BANNERB_LEN)) -- cgit v1.2.3