erpt: fix attachment-in-save paths (closes #1124, #1145)

This commit is contained in:
Michael Scire 2020-09-23 19:49:20 -07:00
parent 1275eb0bf3
commit 4138abbefa

View File

@ -24,7 +24,7 @@ namespace ams::erpt::srv {
attachment_id.uuid.ToString(uuid_str, sizeof(uuid_str)); attachment_id.uuid.ToString(uuid_str, sizeof(uuid_str));
AttachmentFileName attachment_name; AttachmentFileName attachment_name;
std::snprintf(attachment_name.name, sizeof(attachment_name.name), "%s/%s.att", ReportStoragePath, uuid_str); std::snprintf(attachment_name.name, sizeof(attachment_name.name), "%s:/%s.att", ReportStoragePath, uuid_str);
return attachment_name; return attachment_name;
} }