summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
-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