summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-05-25 16:39:16 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-05-25 16:39:16 +0000
commitcc4d50da37ea9825c7f663518e41b15a4b0f00df (patch)
tree87313112d4bdb3fbc64818450678e9d7a3363e6a /sys/compat/svr4
parent5244d76fbfaae31a52432ac9791a79eee7e34aa0 (diff)
Fix previous. s/sfs->f_typename/bfs->fs_typename and
add a missing ')'. i386 can now build kernels.
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index cbb705063a4..f2700bf2d1a 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_misc.c,v 1.53 2010/05/25 15:25:17 millert Exp $ */
+/* $OpenBSD: svr4_misc.c,v 1.54 2010/05/25 16:39:15 thib Exp $ */
/* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */
/*
@@ -1138,7 +1138,7 @@ bsd_statfs_to_svr4_statvfs(bfs, sfs)
sfs->f_flag |= SVR4_ST_NOSUID;
sfs->f_namemax = MAXNAMLEN;
bcopy(bfs->f_fstypename, sfs->f_fstr,
- MIN(sizeof(sfs->f_fstypename), sizeof(sfs->f_fstr));
+ MIN(sizeof(bfs->f_fstypename), sizeof(sfs->f_fstr)));
}
@@ -1164,7 +1164,7 @@ bsd_statfs_to_svr4_statvfs64(bfs, sfs)
sfs->f_flag |= SVR4_ST_NOSUID;
sfs->f_namemax = MAXNAMLEN;
bcopy(bfs->f_fstypename, sfs->f_fstr,
- MIN(sizeof(sfs->f_fstypename), sizeof(sfs->f_fstr));
+ MIN(sizeof(bfs->f_fstypename), sizeof(sfs->f_fstr)));
}