diff options
-rw-r--r-- | runit/svlogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index 7cae81cb2..3ed13b67b 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -784,7 +784,7 @@ static NOINLINE unsigned logdir_open(struct logdir *ld, const char *fn) | |||
784 | case '!': | 784 | case '!': |
785 | if (s[1]) { | 785 | if (s[1]) { |
786 | free(ld->processor); | 786 | free(ld->processor); |
787 | ld->processor = wstrdup(s); | 787 | ld->processor = wstrdup(&s[1]); |
788 | } | 788 | } |
789 | break; | 789 | break; |
790 | } | 790 | } |