Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 netbsd32_size_t should be used instead o...



details:   https://anonhg.NetBSD.org/src/rev/dcdf4f922277
branches:  trunk
changeset: 460802:dcdf4f922277
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Nov 04 11:32:22 2019 +0000

description:
netbsd32_size_t should be used instead of size_t for argument of
32-bit syscalls:

- netbsd32___getvfsstat90: bufsize
- netbsd32___fhstatvfs190: fh_size

No need to pullup, since these syscalls were introduced after
branch of netbsd-9.

diffstat:

 sys/compat/netbsd32/syscalls.master |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 4e4c88f94915 -r dcdf4f922277 sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master       Mon Nov 04 11:21:36 2019 +0000
+++ b/sys/compat/netbsd32/syscalls.master       Mon Nov 04 11:32:22 2019 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.129 2019/11/04 11:20:22 rin Exp $
+       $NetBSD: syscalls.master,v 1.130 2019/11/04 11:32:22 rin Exp $
 
 ;      from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
@@ -1169,11 +1169,11 @@
                            id_t id, netbsd32_clockidp_t clock_id); }
 483    STD             { int|netbsd32|90|getvfsstat( \
                            netbsd32_statvfsp_t buf, \
-                           size_t bufsize, int flags); }
+                           netbsd32_size_t bufsize, int flags); }
 484    STD             { int|netbsd32|90|statvfs1(netbsd32_charp path, \
                            netbsd32_statvfsp_t buf, int flags); }
 485    STD             { int|netbsd32|90|fstatvfs1(int fd, \
                            netbsd32_statvfsp_t buf, int flags); }
 486    STD             { int|netbsd32|90|fhstatvfs1(netbsd32_voidp fhp, \
-                           size_t fh_size, netbsd32_statvfsp_t buf, \
+                           netbsd32_size_t fh_size, netbsd32_statvfsp_t buf, \
                            int flags); }



Home | Main Index | Thread Index | Old Index