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:
Doug Ambrisko 2006-05-05 16:17:59 +00:00
parent 060e488247
commit 03487601c2

View File

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