mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Make watch_file() syscall take path length as a size_t
We don't care to handle negative path lengths anyway.
This commit is contained in:
parent
cf7df95ffe
commit
d6b06fd5a3
4 changed files with 4 additions and 4 deletions
|
@ -3447,7 +3447,7 @@ int Process::sys$ftruncate(int fd, off_t length)
|
|||
return description->truncate(length);
|
||||
}
|
||||
|
||||
int Process::sys$watch_file(const char* user_path, int path_length)
|
||||
int Process::sys$watch_file(const char* user_path, size_t path_length)
|
||||
{
|
||||
auto path = get_syscall_path_argument(user_path, path_length);
|
||||
if (path.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue