Merge pull request #3166 from lioncash/log
services: Silence warnings related to logging
This commit is contained in:
commit
745b4dd8a4
|
@ -320,7 +320,7 @@ InstallStatus InstallCIA(const std::string& path,
|
||||||
update_callback(total_bytes_read, file.GetSize());
|
update_callback(total_bytes_read, file.GetSize());
|
||||||
if (result.Failed()) {
|
if (result.Failed()) {
|
||||||
LOG_ERROR(Service_AM, "CIA file installation aborted with error code %08x",
|
LOG_ERROR(Service_AM, "CIA file installation aborted with error code %08x",
|
||||||
result.Code());
|
result.Code().raw);
|
||||||
return InstallStatus::ErrorAborted;
|
return InstallStatus::ErrorAborted;
|
||||||
}
|
}
|
||||||
total_bytes_read += bytes_read;
|
total_bytes_read += bytes_read;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include <cinttypes>
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/file_sys/errors.h"
|
#include "core/file_sys/errors.h"
|
||||||
#include "core/file_sys/file_backend.h"
|
#include "core/file_sys/file_backend.h"
|
||||||
|
@ -96,8 +97,8 @@ void GetStepHistory(Interface* self) {
|
||||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
||||||
LOG_WARNING(Service_PTM, "(STUBBED) called, from time(raw): 0x%llx, for %d hours", start_time,
|
LOG_WARNING(Service_PTM, "(STUBBED) called, from time(raw): 0x" PRIx64 ", for %u hours",
|
||||||
hours);
|
start_time, hours);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetTotalStepCount(Interface* self) {
|
void GetTotalStepCount(Interface* self) {
|
||||||
|
|
Reference in New Issue