[syslog-ng] [PATCH] system-source: Correct a typo in the unix-dgram() part
Gergely Nagy
algernon at balabit.hu
Tue Sep 25 16:10:34 CEST 2012
From: Gergely Nagy <algernon at madhouse-project.org>
The option is called perm(), not perms().
Reported-by: Peter Czanik <czanik at balabit.hu>
Signed-off-by: Gergely Nagy <algernon at madhouse-project.org>
---
modules/system-source/system-source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/system-source/system-source.c b/modules/system-source/system-source.c
index 9ba0480..929a5f8 100644
--- a/modules/system-source/system-source.c
+++ b/modules/system-source/system-source.c
@@ -41,7 +41,7 @@ system_sysblock_add_unix_dgram(GString *sysblock, const gchar *path,
{
g_string_append_printf(sysblock, "unix-dgram(\"%s\"", path);
if (perms)
- g_string_append_printf(sysblock, " perms(%s)", perms);
+ g_string_append_printf(sysblock, " perm(%s)", perms);
g_string_append(sysblock, ");\n");
}
--
1.7.10
More information about the syslog-ng
mailing list