diff --git a/libraries/libstratosphere/source/settings/impl/settings_error_report.cpp b/libraries/libstratosphere/source/settings/impl/settings_error_report_impl.cpp similarity index 100% rename from libraries/libstratosphere/source/settings/impl/settings_error_report.cpp rename to libraries/libstratosphere/source/settings/impl/settings_error_report_impl.cpp diff --git a/libraries/libstratosphere/source/settings/settings_error_report.cpp b/libraries/libstratosphere/source/settings/settings_error_report.cpp index f1b8ff528..c11d2936d 100644 --- a/libraries/libstratosphere/source/settings/settings_error_report.cpp +++ b/libraries/libstratosphere/source/settings/settings_error_report.cpp @@ -21,7 +21,7 @@ namespace ams::settings::system { ErrorReportSharePermission GetErrorReportSharePermission() { s32 perm = 0; R_ABORT_UNLESS(settings::impl::GetErrorReportSharePermission(std::addressof(perm))); - return static_cast(model); + return static_cast(perm); } }