summaryrefslogtreecommitdiffstats
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:18:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:18:35 +0200
commit43c0fa7f4b2f1049e8f00501aebd6f065043b943 (patch)
tree8d836eb37042fef10b0b3d7ad6a762d1303b804c /drivers/unix/os_unix.cpp
parent19c6294a6607b339650ee9b6db0159d0f1f01e8a (diff)
parentdcc92c174efeb4d93874f26a9dd247f7a89d5619 (diff)
downloadredot-engine-43c0fa7f4b2f1049e8f00501aebd6f065043b943.tar.gz
Merge pull request #78797 from Calinou/remove-redundant-vformat
Remove uses of `vformat()` with no placeholders
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index 967699c5f3..387e048221 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -315,7 +315,7 @@ Dictionary OS_Unix::get_memory_info() const {
mach_msg_type_number_t count = HOST_VM_INFO64_COUNT;
vm_statistics64_data_t vmstat;
if (host_statistics64(mach_host_self(), HOST_VM_INFO64, (host_info64_t)&vmstat, &count) != KERN_SUCCESS) {
- ERR_PRINT(vformat("Could not get host vm statistics."));
+ ERR_PRINT("Could not get host vm statistics.");
}
struct xsw_usage swap_used;
len = sizeof(swap_used);