Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/common Fix struct entry size (thanks kre@)



details:   https://anonhg.NetBSD.org/src/rev/09587c395e4c
branches:  trunk
changeset: 935274:09587c395e4c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 28 14:37:53 2020 +0000

description:
Fix struct entry size (thanks kre@)

diffstat:

 sys/compat/common/vfs_syscalls_20.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2533d93b5571 -r 09587c395e4c sys/compat/common/vfs_syscalls_20.c
--- a/sys/compat/common/vfs_syscalls_20.c       Sun Jun 28 14:26:18 2020 +0000
+++ b/sys/compat/common/vfs_syscalls_20.c       Sun Jun 28 14:37:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls_20.c,v 1.45 2020/01/17 20:08:06 ad Exp $  */
+/*     $NetBSD: vfs_syscalls_20.c,v 1.46 2020/06/28 14:37:53 christos Exp $    */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls_20.c,v 1.45 2020/01/17 20:08:06 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls_20.c,v 1.46 2020/06/28 14:37:53 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -153,7 +153,7 @@
        } */
        return do_sys_getvfsstat(l, SCARG(uap, buf), SCARG(uap, bufsize),
            SCARG(uap, flags), statvfs_to_statfs12_copy,
-           sizeof(struct statvfs90), retval);
+           sizeof(struct statfs12), retval);
 }
 
 int



Home | Main Index | Thread Index | Old Index