mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Kernel: Rename FileDescription::fstat() => stat()
This commit is contained in:
parent
c14de7da99
commit
5444cabd39
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ int Process::sys$fstat(int fd, Userspace<stat*> user_statbuf)
|
|||
if (!description)
|
||||
return -EBADF;
|
||||
stat buffer = {};
|
||||
int rc = description->fstat(buffer);
|
||||
int rc = description->stat(buffer);
|
||||
copy_to_user(user_statbuf, &buffer);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue