diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/ccze/files/ccze-segfault.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/ccze/files/ccze-segfault.patch')
-rw-r--r-- | app-admin/ccze/files/ccze-segfault.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/ccze/files/ccze-segfault.patch b/app-admin/ccze/files/ccze-segfault.patch new file mode 100644 index 000000000000..5bdd823e4120 --- /dev/null +++ b/app-admin/ccze/files/ccze-segfault.patch @@ -0,0 +1,29 @@ +--- a/src/ccze.c ++++ b/src/ccze.c +@@ -209,7 +209,7 @@ + } + break; + case 'a': +- plugin = strtok (optarg, "="); ++ plugin = strtok (arg, "="); + value = strtok (NULL, "\n"); + ccze_plugin_argv_set (plugin, value); + break; +@@ -249,7 +249,7 @@ + ccze_config.remfac = 1; + break; + case 'm': +- subopts = optarg; ++ subopts = arg; + while (*subopts != '\0') + { + switch (getsubopt (&subopts, m_subopts, &value)) +@@ -273,7 +273,7 @@ + } + break; + case 'o': +- subopts = optarg; ++ subopts = arg; + while (*subopts != '\0') + { + switch (getsubopt (&subopts, o_subopts, &value)) |