diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 02:33:01 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 02:33:01 +0100 |
commit | e6fc84e2349c13c51d379f77b84bcdd4d8c6f9c8 (patch) | |
tree | e9fcb1afb31a4fab79e0c076ef05732252b10557 /Kernel/VirtualConsole.h | |
parent | 786b903d62f86ee8e17b3ab7b77d4aeebe32847a (diff) | |
download | serenity-e6fc84e2349c13c51d379f77b84bcdd4d8c6f9c8.zip |
Kernel: Make /proc/PID/fds display something useful for character devices.
Diffstat (limited to 'Kernel/VirtualConsole.h')
-rw-r--r-- | Kernel/VirtualConsole.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/VirtualConsole.h b/Kernel/VirtualConsole.h index 2888ced10d..3b688174d7 100644 --- a/Kernel/VirtualConsole.h +++ b/Kernel/VirtualConsole.h @@ -26,6 +26,9 @@ private: virtual void on_tty_write(const byte*, size_t) override; virtual String tty_name() const override; + // ^CharacterDevice + virtual const char* class_name() const override { return "VirtualConsole"; } + void set_active(bool); void on_char(byte); |