1
Fork 0
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:
Andreas Kling 2020-09-06 18:17:07 +02:00
parent c14de7da99
commit 5444cabd39
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}