fs/sprof/build: fix minor issues

This commit is contained in:
Michael Scire
2022-03-22 13:27:05 -07:00
parent 30ff0254a4
commit b428e77c16
4 changed files with 16 additions and 16 deletions

View File

@@ -79,7 +79,7 @@ namespace ams::fs {
R_TRY(fsp->OpenSdCardFileSystem(std::addressof(fs)));
/* Allocate a new filesystem wrapper. */
auto fsa = std::make_shared<impl::FileSystemServiceObjectAdapter>(std::move(fs));
auto fsa = fs::AllocateShared<impl::FileSystemServiceObjectAdapter>(std::move(fs));
R_UNLESS(fsa != nullptr, fs::ResultAllocationMemoryFailedInSdCardA());
/* Ensure that the error report directory exists. */