Przeglądaj źródła

Fix printf format warning

Yuri Kunde Schlesner 11 lat temu
rodzic
commit
c956e8a686
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/hle/svc.cpp

+ 1 - 1
src/core/hle/svc.cpp

@@ -312,7 +312,7 @@ static ResultCode GetResourceLimit(Handle* resource_limit, Handle process) {
 /// Get resource limit current values
 static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_limit, void* names,
     s32 name_count) {
-    LOG_ERROR(Kernel_SVC, "(UNIMPLEMENTED) called resource_limit=%08X, names=%s, name_count=%d",
+    LOG_ERROR(Kernel_SVC, "(UNIMPLEMENTED) called resource_limit=%08X, names=%p, name_count=%d",
         resource_limit, names, name_count);
     Memory::Write32(Core::g_app_core->GetReg(0), 0); // Normmatt: Set used memory to 0 for now
     return RESULT_SUCCESS;