mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Fix the the duplicate cut-n-paste in linux_fstat64 pointed out by
Alexander Leidinger. I forget to fix it in this version.
This commit is contained in:
parent
060e488247
commit
03487601c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158312
|
@ -524,7 +524,6 @@ linux_fstat64(struct thread *td, struct linux_fstat64_args *args)
|
|||
error = kern_fstat(td, args->fd, &buf);
|
||||
translate_fd_major_minor(td, args->fd, &buf);
|
||||
if (!error)
|
||||
translate_fd_major_minor(td, args->fd, &buf);
|
||||
error = stat64_copyout(&buf, args->statbuf);
|
||||
|
||||
return (error);
|
||||
|
|
Loading…
Reference in a new issue