diff options
Diffstat (limited to 'apps/open_plugin.c')
-rw-r--r-- | apps/open_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/open_plugin.c b/apps/open_plugin.c index 5bca829708..61778e1ce7 100644 --- a/apps/open_plugin.c +++ b/apps/open_plugin.c | |||
@@ -64,6 +64,8 @@ uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *p | |||
64 | 64 | ||
65 | if(parameter) | 65 | if(parameter) |
66 | strlcpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ); | 66 | strlcpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ); |
67 | else | ||
68 | open_plugin_entry.param[0] = '\0'; | ||
67 | 69 | ||
68 | write(fd, &open_plugin_entry, op_entry_sz); | 70 | write(fd, &open_plugin_entry, op_entry_sz); |
69 | } | 71 | } |