Fix missing region report when DEVICE_SELF is used [O. Galibert]

This commit is contained in:
Olivier Galibert 2016-08-15 14:06:47 +02:00
parent 3f353b116e
commit 2fbf2919d2

View File

@ -156,10 +156,11 @@ bool finder_base::report_missing(bool found, const char *objname, bool required)
return true;
// otherwise, report
std::string region_fulltag = m_base.subtag(m_tag);
if (required)
osd_printf_error("Required %s '%s' not found\n", objname, m_tag);
osd_printf_error("Required %s '%s' not found\n", objname, region_fulltag.c_str());
else
osd_printf_verbose("Optional %s '%s' not found\n", objname, m_tag);
osd_printf_verbose("Optional %s '%s' not found\n", objname, region_fulltag.c_str());
return !required;
}