Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/amd64 Fix write(2) size argument (int ...



details:   https://anonhg.NetBSD.org/src/rev/782c10220560
branches:  trunk
changeset: 338594:782c10220560
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sun May 31 10:49:27 2015 +0000

description:
Fix write(2) size argument (int -> size_t).

diffstat:

 sys/compat/linux/arch/amd64/syscalls.master |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 22a2f8ccd248 -r 782c10220560 sys/compat/linux/arch/amd64/syscalls.master
--- a/sys/compat/linux/arch/amd64/syscalls.master       Sun May 31 08:13:18 2015 +0000
+++ b/sys/compat/linux/arch/amd64/syscalls.master       Sun May 31 10:49:27 2015 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.54 2015/03/07 03:25:19 christos Exp $
+       $NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -66,7 +66,7 @@
 
 0      NOARGS          { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
 1      NOARGS          { ssize_t|sys||write(int fd, const void *buf, \
-                           int nbyte); }
+                           size_t nbyte); }
 2      STD             { int|linux_sys||open(const char *path, int flags, \
                            linux_umode_t mode); }
 3      NOARGS          { int|sys||close(int fd); }



Home | Main Index | Thread Index | Old Index