summaryrefslogtreecommitdiffstats
path: root/drivers/unix
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2023-06-28 16:27:55 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2023-06-28 16:27:55 +0200
commitdcc92c174efeb4d93874f26a9dd247f7a89d5619 (patch)
treed6e5712b603ce81d7360758d715d25372406bea5 /drivers/unix
parentc83f912bcb33d441b90afe36bad38880acbe5f15 (diff)
downloadredot-engine-dcc92c174efeb4d93874f26a9dd247f7a89d5619.tar.gz
Remove uses of `vformat()` with no placeholders
This is identical to passing the string directly.
Diffstat (limited to 'drivers/unix')
-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);