fs: revise allocation-fail result names
This commit is contained in:
@@ -69,7 +69,7 @@ namespace ams::fssrv::impl {
|
||||
} else {
|
||||
/* Make a new entry. */
|
||||
auto *entry = new ExternalKeyEntry(rights_id, access_key);
|
||||
R_UNLESS(entry != nullptr, fs::ResultAllocationFailure());
|
||||
R_UNLESS(entry != nullptr, fs::ResultAllocationMemoryFailed());
|
||||
|
||||
/* Add the entry to our list. */
|
||||
m_key_list.push_back(*entry);
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace ams::fssrv::impl {
|
||||
for (int i = 0; i < count; ++i) {
|
||||
/* Allocate new entry. */
|
||||
auto *entry = new ProgramIndexMapInfoEntry;
|
||||
R_UNLESS(entry != nullptr, fs::ResultAllocationFailureInNew());
|
||||
R_UNLESS(entry != nullptr, fs::ResultAllocationMemoryFailedNew());
|
||||
|
||||
/* Copy over the info. */
|
||||
entry->program_id = infos[i].program_id;
|
||||
|
||||
Reference in New Issue
Block a user