diff options
author | Benji Dial <benji@benjidial.net> | 2024-01-12 20:39:21 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-01-12 20:39:21 -0500 |
commit | 882e74b2191c059a9226cbd8bcb51c97da36247c (patch) | |
tree | 3ecc05882a9097a85749902130849be65911e684 /kernel/terminal.cpp | |
parent | c4ab2f6f440f060b1686991b24379a4998aa55a9 (diff) | |
download | hilbert-os-882e74b2191c059a9226cbd8bcb51c97da36247c.tar.gz |
rewrite file system layer
Diffstat (limited to 'kernel/terminal.cpp')
-rw-r--r-- | kernel/terminal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/terminal.cpp b/kernel/terminal.cpp index 7a878ee..59e1ee5 100644 --- a/kernel/terminal.cpp +++ b/kernel/terminal.cpp @@ -74,9 +74,9 @@ namespace mercury::kernel::terminal { } } - void put_string(const char *str, size_t len) { - for (size_t i = 0; i < len; ++i) - put_char(str[i]); + void put_string(const utility::string &str) { + for (size_t i = 0; i < str.count; ++i) + put_char(str.buffer[i]); } void put_string_sz(const char *str) { |