summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-03-20 19:46:56 +0000
committernetchild <netchild@FreeBSD.org>2006-03-20 19:46:56 +0000
commit93e05e4b38618e9dbf35c4deeecdd5ce967bfb05 (patch)
treea725410d93e636771241360133b59bbed570d7d4 /sys/compat
parente11865e4b1e502c9a26d4d52366ba5bb2e92a0a6 (diff)
downloadFreeBSD-src-93e05e4b38618e9dbf35c4deeecdd5ce967bfb05.zip
FreeBSD-src-93e05e4b38618e9dbf35c4deeecdd5ce967bfb05.tar.gz
Fix tinderbox on alpha.
Tested by: cross-compile
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c
index f4f1bbd..fa781c3 100644
--- a/sys/compat/linux/linux_stats.c
+++ b/sys/compat/linux/linux_stats.c
@@ -186,6 +186,7 @@ linux_newfstat(struct thread *td, struct linux_newfstat_args *args)
return (error);
}
+#ifndef __alpha__
static int
stat_copyout(struct stat *buf, void *ubuf)
{
@@ -244,6 +245,7 @@ linux_lstat(struct thread *td, struct linux_lstat_args *args)
return (error);
return(stat_copyout(&buf, args->up));
}
+#endif
/* XXX - All fields of type l_int are defined as l_long on i386 */
struct l_statfs {
OpenPOWER on IntegriCloud