Fix a typo in initialization of ltemp

This commit is contained in:
Laci bá
2021-08-27 09:09:46 +02:00
parent 1980155e34
commit 3da83e3ffe

View File

@@ -567,7 +567,7 @@ usage:
*/
if (strlen(vm_name) == 0)
{
char ltemp[1024] = {'/0'};
char ltemp[1024] = { '\0'};
plat_get_dirname(ltemp, usr_path);
strcpy(vm_name, plat_get_filename(ltemp));
}