mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
Kernel: Add implicit auto qualifiers in Syscalls
This commit is contained in:
parent
f5b495d92c
commit
c860e0ab95
10 changed files with 24 additions and 24 deletions
|
@ -43,7 +43,7 @@ ErrorOr<FlatPtr> Process::sys$inode_watcher_add_watch(Userspace<const Syscall::S
|
|||
auto description = TRY(fds().open_file_description(params.fd));
|
||||
if (!description->is_inode_watcher())
|
||||
return EBADF;
|
||||
auto inode_watcher = description->inode_watcher();
|
||||
auto* inode_watcher = description->inode_watcher();
|
||||
auto path = TRY(get_syscall_path_argument(params.user_path));
|
||||
auto custody = TRY(VirtualFileSystem::the().resolve_path(path->view(), current_directory()));
|
||||
if (!custody->inode().fs().supports_watchers())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue