From 3a2cdb421d19b61b4b6a2c882b53c1eac00ceb07 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Sat, 11 Mar 2023 01:51:47 +1100
Subject: [PATCH] typo fix

---
 src/lib66/parse/parse_split_from_section.c | 2 +-
 src/lib66/service/service_frontend_src.c   | 3 ++-
 src/lib66/svc/svc_unsupervise.c            | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/lib66/parse/parse_split_from_section.c b/src/lib66/parse/parse_split_from_section.c
index 18c5b34c..71b9c736 100644
--- a/src/lib66/parse/parse_split_from_section.c
+++ b/src/lib66/parse/parse_split_from_section.c
@@ -140,7 +140,7 @@ int parse_split_from_section(resolve_service_t *res, stralloc *secname, char *st
 
         tpos = 0 ;
 
-        // loop around all keys for the section
+        // loop around all keys from the section
         while (*total_list[id].list[ipos].name) {
 
             found = 0 ;
diff --git a/src/lib66/service/service_frontend_src.c b/src/lib66/service/service_frontend_src.c
index c47da701..c732dd23 100644
--- a/src/lib66/service/service_frontend_src.c
+++ b/src/lib66/service/service_frontend_src.c
@@ -24,6 +24,7 @@
 #include <66/constants.h>
 #include <66/utils.h>
 #include <66/service.h>
+#include <66/instance.h>
 
 int service_frontend_src(stralloc *sasrc, char const *name, char const *src)
 {
@@ -139,7 +140,7 @@ int service_frontend_src(stralloc *sasrc, char const *name, char const *src)
                             /** system error */
                             goto err ;
                         if (!r)
-                            /** nothing found on empty sub-directory */
+                            /** nothing found at empty sub-directory */
                             found = 0 ;
                     }
 
diff --git a/src/lib66/svc/svc_unsupervise.c b/src/lib66/svc/svc_unsupervise.c
index 10bce0d1..8850d7b4 100644
--- a/src/lib66/svc/svc_unsupervise.c
+++ b/src/lib66/svc/svc_unsupervise.c
@@ -45,7 +45,7 @@ void svc_unsupervise(unsigned int *alist, unsigned int alen, graph_t *g, resolve
 
         int aresid = service_resolve_array_search(ares, areslen, name) ;
         if (aresid < 0)
-            log_dieu(LOG_EXIT_SYS,"find ares id -- please make a bug reports") ;
+            log_dieu(LOG_EXIT_SYS,"find ares id of: ", name, " -- please make a bug reports") ;
 
         sanitize_it(&ares[aresid]) ;
 
-- 
GitLab