summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-02-28 12:10:47 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-08-06 11:03:26 +0200
commit8c3a6b10a9b9f0818d2953473e57e69f24104b6d (patch)
tree66a2b75f035c2e8491bdcd3224909c633ba121d9 /core/os
parent18fb2afcacb401ebfa866b94f2be85da6f8feb0a (diff)
OS: Fix used resource debug prints
These methods were broken by 22419082d9bedbc9dc060ea5784bb0871f8710a3 5 years ago and nobody complained, so maybe they're not so useful... But at least this should restore them to a working state.
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index cdb570bb73..76a6da51e1 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -178,7 +178,7 @@ static void _OS_printres(Object *p_obj) {
return;
}
- String str = itos(res->get_instance_id()) + String(res->get_class()) + ":" + String(res->get_name()) + " - " + res->get_path();
+ String str = vformat("%s - %s - %s", res->to_string(), res->get_name(), res->get_path());
if (_OSPRF) {
_OSPRF->store_line(str);
} else {