Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Sync __getlogin()'s namelen argument with the libc-...



details:   https://anonhg.NetBSD.org/src/rev/9bbd7488af68
branches:  trunk
changeset: 467749:9bbd7488af68
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Mar 28 17:34:33 1999 +0000

description:
Sync __getlogin()'s namelen argument with the libc-internal declaration
(u_int vs. size_t).

diffstat:

 sys/kern/kern_prot.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c0a7c9277701 -r 9bbd7488af68 sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c      Sun Mar 28 17:32:51 1999 +0000
+++ b/sys/kern/kern_prot.c      Sun Mar 28 17:34:33 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_prot.c,v 1.52 1998/12/18 14:10:06 drochner Exp $  */
+/*     $NetBSD: kern_prot.c,v 1.53 1999/03/28 17:34:33 kleink Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
@@ -644,7 +644,7 @@
 {
        struct sys___getlogin_args /* {
                syscallarg(char *) namebuf;
-               syscallarg(u_int) namelen;
+               syscallarg(size_t) namelen;
        } */ *uap = v;
 
        if (SCARG(uap, namelen) > sizeof(p->p_pgrp->pg_session->s_login))



Home | Main Index | Thread Index | Old Index