summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 7322cbd9f6..4b9be39a8c 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -198,7 +198,7 @@ static int browser(void* param)
#endif
case GO_TO_BROWSEPLUGINS:
filter = SHOW_PLUGINS;
- snprintf(folder, MAX_PATH, "%s", PLUGIN_DIR);
+ strncpy(folder, PLUGIN_DIR, MAX_PATH);
break;
}
ret_val = rockbox_browse(folder, filter);