1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

Kernel: Fix sys$dbgputstr(...) to take a char* instead of u8*

We always attempt to print this as a string, and it's defined as such in
LibC, so fix the signature to match.
This commit is contained in:
Brian Gianforcaro 2021-08-12 21:41:11 -07:00 committed by Andreas Kling
parent 1ee1ef5103
commit 5121e58d4a
2 changed files with 3 additions and 3 deletions

View file

@ -264,7 +264,7 @@ public:
KResultOr<FlatPtr> sys$inode_watcher_add_watch(Userspace<const Syscall::SC_inode_watcher_add_watch_params*> user_params);
KResultOr<FlatPtr> sys$inode_watcher_remove_watch(int fd, int wd);
KResultOr<FlatPtr> sys$dbgputch(u8);
KResultOr<FlatPtr> sys$dbgputstr(Userspace<const u8*>, size_t);
KResultOr<FlatPtr> sys$dbgputstr(Userspace<const char*>, size_t);
KResultOr<FlatPtr> sys$dump_backtrace();
KResultOr<FlatPtr> sys$gettid();
KResultOr<FlatPtr> sys$setsid();