Merge pull request #9781 from ColinKinloch/info_id_typo

kernel/svc: Fix undefined info_id
This commit is contained in:
liamwhite 2023-02-11 20:13:54 -05:00 committed by GitHub
commit fbba6e10bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ namespace Kernel::Svc {
/// Gets system/memory information for the current process /// Gets system/memory information for the current process
Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle handle, Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle handle,
u64 info_sub_id) { u64 info_sub_id) {
LOG_TRACE(Kernel_SVC, "called info_id=0x{:X}, info_sub_id=0x{:X}, handle=0x{:08X}", info_id, LOG_TRACE(Kernel_SVC, "called info_id=0x{:X}, info_sub_id=0x{:X}, handle=0x{:08X}",
info_sub_id, handle); info_id_type, info_sub_id, handle);
u32 info_id = static_cast<u32>(info_id_type); u32 info_id = static_cast<u32>(info_id_type);