diff options
Diffstat (limited to 'Kernel/TTY/VirtualConsole.h')
-rw-r--r-- | Kernel/TTY/VirtualConsole.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/TTY/VirtualConsole.h b/Kernel/TTY/VirtualConsole.h index e9211b2142..b663d61b81 100644 --- a/Kernel/TTY/VirtualConsole.h +++ b/Kernel/TTY/VirtualConsole.h @@ -32,7 +32,7 @@ private: // ^TTY virtual ssize_t on_tty_write(const u8*, ssize_t) override; - virtual String tty_name() const override; + virtual StringView tty_name() const override; // ^CharacterDevice virtual const char* class_name() const override { return "VirtualConsole"; } @@ -87,5 +87,5 @@ private: Vector<u8> m_parameters; Vector<u8> m_intermediates; u8* m_horizontal_tabs { nullptr }; - String m_tty_name; + char m_tty_name[32]; }; |