#983545 active.c: add "__FILE__" to the ouput of "log_entry()"

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-02-25 23:09:04 UTC
Severity:
normal
Tags:
#983545#5
Date:
2021-02-25 23:07:57 UTC
From:
To:
Dear Maintainer,

  active.c: add "__FILE__" to the ouput of "log_entry"

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 active.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/active.c b/active.c
index 9513e20..86f28a7 100644
--- a/active.c
+++ b/active.c
@@ -132,8 +132,8 @@ read_active_file(FILE * act, FILE * copy)
 		if (gh1 == NULL) {
 		    /* '=unknown.group' is treated just like 'x' */
 		    if ((old_flag & M_IGNORE_A) == 0)
-			log_entry('R', "Group %s aliased to unknown group (%s)",
-				  gh->group_name, name);
+			log_entry('R', "%s: Group %s aliased to unknown group (%s)",
+				  __FILE__, gh->group_name, name);
 		    gh->master_flag |= M_IGNORE_A;
 		    if ((old_flag & (M_IGNORE_A | M_ALIASED)) == M_IGNORE_A)
 			continue;