platform_ps2.c - Use snprintf

pull/12413/head
twinaphex 2021-05-18 14:15:18 +02:00
parent f6a8480f21
commit ef35adc9d6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ static void create_path_names(void)
{
char user_path[FILENAME_MAX];
sprintf(user_path, "%sretroarch", cwd);
snprintf(user_path, sizeof(user_path), "%sretroarch", cwd);
fill_pathname_basedir(g_defaults.dirs[DEFAULT_DIR_PORT], cwd, sizeof(g_defaults.dirs[DEFAULT_DIR_PORT]));
/* Content in the same folder */