summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
diff options
context:
space:
mode:
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)));
}