diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-26 20:46:54 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-26 21:37:16 +0200 |
commit | c33755e2b993c30b68920a578af9c9d0f5fbdc2f (patch) | |
tree | ff0d274c8b1305610162f691f9d32088045b8f58 /src/core/telemetry_session.cpp | |
parent | Merge pull request #401 from lioncash/gdbstub (diff) | |
download | yuzu-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.cpp | 6 |
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)); |