Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From b7568dd0e37bdcb87eac01b2b017622d54f6140f Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Thu, 25 Feb 2021 23:02:33 +0000
>Subject: [PATCH] active.c: add "__FILE__" to the ouput of "log_entry"

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

Signed-off-by: Bjarni Ingi Gislason <bjarn...@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;
-- 
2.30.0



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to