options: log profile name if there is no restore data

This commit is contained in:
Natural-Harmonia-Gropius 2022-10-28 15:02:12 +08:00 committed by Dudemanguy
parent fd91776207
commit e5e918954f
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ int m_config_restore_profile(struct m_config *config, char *name)
return M_OPT_INVALID;
if (!p->backups)
MP_WARN(config, "Profile contains no restore data.\n");
MP_WARN(config, "Profile '%s' contains no restore data.\n", name);
restore_backups(&p->backups, config);