[PATCH] system-source: Correct a typo in the unix-dgram() part
From: Gergely Nagy <algernon@madhouse-project.org> The option is called perm(), not perms(). Reported-by: Peter Czanik <czanik@balabit.hu> Signed-off-by: Gergely Nagy <algernon@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
participants (1)
-
Gergely Nagy