git: kernel/extp{read,write}v: Change ioccnt from u_int to int.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Mar 5 23:46:43 PST 2018


commit 39e1f7d7f7a2444075c442cd94361e3f08572a29
Author: Sascha Wildner <saw at online.de>
Date:   Tue Mar 6 08:46:34 2018 +0100

    kernel/extp{read,write}v: Change ioccnt from u_int to int.
    
    Just like preadv(), pwritev(). Struct uio's uio_ioccnt is also int.
    Also adjust iovec_copyin() to take an int.
    
    While here, make iovec const, also like in preadv/pwritev.
    
    Discussed-with: dillon

Summary of changes:
 include/unistd.h         | 4 ++--
 sys/kern/kern_subr.c     | 6 +++---
 sys/kern/syscalls.master | 8 ++++----
 sys/sys/sysproto.h       | 8 ++++----
 sys/sys/uio.h            | 4 ++--
 5 files changed, 15 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39e1f7d7f7a2444075c442cd94361e3f08572a29


-- 
DragonFly BSD source repository



More information about the Commits mailing list