summaryrefslogtreecommitdiffstats
path: root/src/core/telemetry_session.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-26 20:46:54 +0200
committerLioncash <mathew1800@gmail.com>2018-04-26 21:37:16 +0200
commitc33755e2b993c30b68920a578af9c9d0f5fbdc2f (patch)
treeff0d274c8b1305610162f691f9d32088045b8f58 /src/core/telemetry_session.cpp
parentMerge pull request #401 from lioncash/gdbstub (diff)
downloadyuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar.gz
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar.bz2
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar.lz
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar.xz
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.tar.zst
yuzu-c33755e2b993c30b68920a578af9c9d0f5fbdc2f.zip
Diffstat (limited to 'src/core/telemetry_session.cpp')
-rw-r--r--src/core/telemetry_session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp
index cecf0a5cb..02c52bb55 100644
--- a/src/core/telemetry_session.cpp
+++ b/src/core/telemetry_session.cpp
@@ -42,14 +42,14 @@ u64 GetTelemetryId() {
if (FileUtil::Exists(filename)) {
FileUtil::IOFile file(filename, "rb");
if (!file.IsOpen()) {
- LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str());
+ NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename);
return {};
}
file.ReadBytes(&telemetry_id, sizeof(u64));
} else {
FileUtil::IOFile file(filename, "wb");
if (!file.IsOpen()) {
- LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str());
+ NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename);
return {};
}
telemetry_id = GenerateTelemetryId();
@@ -65,7 +65,7 @@ u64 RegenerateTelemetryId() {
FileUtil::IOFile file(filename, "wb");
if (!file.IsOpen()) {
- LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str());
+ NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename);
return {};
}
file.WriteBytes(&new_telemetry_id, sizeof(u64));