summaryrefslogtreecommitdiffstats
path: root/apps/open_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/open_plugin.c')
-rw-r--r--apps/open_plugin.c2
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
if(parameter)
strlcpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ);
+ else
+ open_plugin_entry.param[0] = '\0';
write(fd, &open_plugin_entry, op_entry_sz);
}