1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

AK: Make the return type of dbgputstr consistent.

This commit is contained in:
asynts 2020-10-04 17:42:31 +02:00 committed by Andreas Kling
parent 4cf3a1eb41
commit 59e7ffa86d
5 changed files with 9 additions and 6 deletions

View file

@ -1044,7 +1044,7 @@ void dbgputch(char ch)
syscall(SC_dbgputch, ch);
}
ssize_t dbgputstr(const char* characters, ssize_t length)
int dbgputstr(const char* characters, ssize_t length)
{
int rc = syscall(SC_dbgputstr, characters, length);
__RETURN_WITH_ERRNO(rc, rc, -1);