diff options
author | pjd <pjd@FreeBSD.org> | 2005-05-27 19:25:39 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-05-27 19:25:39 +0000 |
commit | 311d5e11823c8823274a07b206bb11984a17171a (patch) | |
tree | 77c03676f858905ade1fdf4236261dfe2ed9fad9 /sys/compat/linux/linux_stats.c | |
parent | ac435fbb1323186ea673f31083501e500c7f5710 (diff) | |
download | FreeBSD-src-311d5e11823c8823274a07b206bb11984a17171a.zip FreeBSD-src-311d5e11823c8823274a07b206bb11984a17171a.tar.gz |
Remove (now) unused argument 'td' from bsd_to_linux_statfs().
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
-rw-r--r-- | sys/compat/linux/linux_stats.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index cf783aa..7ddb192 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -227,8 +227,7 @@ bsd_to_linux_ftype(const char *fstypename) } static void -bsd_to_linux_statfs(struct thread *td, struct statfs *bsd_statfs, - struct l_statfs *linux_statfs) +bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs) { linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename); @@ -261,7 +260,7 @@ linux_statfs(struct thread *td, struct linux_statfs_args *args) LFREEPATH(path); if (error) return (error); - bsd_to_linux_statfs(td, &bsd_statfs, &linux_statfs); + bsd_to_linux_statfs(&bsd_statfs, &linux_statfs); return copyout(&linux_statfs, args->buf, sizeof(linux_statfs)); } @@ -279,7 +278,7 @@ linux_fstatfs(struct thread *td, struct linux_fstatfs_args *args) error = kern_fstatfs(td, args->fd, &bsd_statfs); if (error) return error; - bsd_to_linux_statfs(td, &bsd_statfs, &linux_statfs); + bsd_to_linux_statfs(&bsd_statfs, &linux_statfs); return copyout(&linux_statfs, args->buf, sizeof(linux_statfs)); } |