diff options
author | rubidium42 <rubidium@openttd.org> | 2021-06-12 09:10:17 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-13 12:45:45 +0200 |
commit | 55a11710a6c0f7942f3947711f2050c34782c39d (patch) | |
tree | 491b3009324e623236977614e91371a0ea4abac7 /src/random_access_file.cpp | |
parent | a99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (diff) | |
download | openttd-55a11710a6c0f7942f3947711f2050c34782c39d.tar.xz |
Codechange: convert printf DEBUG statements to fmt Debug statements
Diffstat (limited to 'src/random_access_file.cpp')
-rw-r--r-- | src/random_access_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random_access_file.cpp b/src/random_access_file.cpp index 72f207837..5abfe7d9b 100644 --- a/src/random_access_file.cpp +++ b/src/random_access_file.cpp @@ -86,7 +86,7 @@ void RandomAccessFile::SeekTo(size_t pos, int mode) this->pos = pos; if (fseek(this->file_handle, this->pos, SEEK_SET) < 0) { - DEBUG(misc, 0, "Seeking in %s failed", this->filename.c_str()); + Debug(misc, 0, "Seeking in {} failed", this->filename); } /* Reset the buffer, so the next ReadByte will read bytes from the file. */ |