Source-Changes-HG archive

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

[src/trunk]: src/include s/ut_name/ut_user/ from Simon Burge.



details:   https://anonhg.NetBSD.org/src/rev/84d0b45cbc09
branches:  trunk
changeset: 522740:84d0b45cbc09
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 25 13:57:24 2002 +0000

description:
s/ut_name/ut_user/ from Simon Burge.

diffstat:

 include/utmpx.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r e63c2027c893 -r 84d0b45cbc09 include/utmpx.h
--- a/include/utmpx.h   Mon Feb 25 13:16:45 2002 +0000
+++ b/include/utmpx.h   Mon Feb 25 13:57:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmpx.h,v 1.2 2002/02/25 03:19:15 christos Exp $        */
+/*     $NetBSD: utmpx.h,v 1.3 2002/02/25 13:57:24 christos Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -45,13 +45,13 @@
 #define        _PATH_LASTLOGX          "/var/log/lastlogx"
 #define        _PATH_UTMP_UPDATE       "/usr/libexec/utmp_update"
 
-#define _UTX_NAMESIZE  32
+#define _UTX_USERSIZE  32
 #define _UTX_LINESIZE  32
 #define        _UTX_IDSIZE     4
 #define _UTX_HOSTSIZE  256
 
 #ifndef _XOPEN_SOURCE
-#define UTX_NAMESIZE   _UTX_NAMESIZE
+#define UTX_USERSIZE   _UTX_USERSIZE
 #define UTX_LINESIZE   _UTX_LINESIZE
 #define        UTX_IDSIZE      _UTX_IDSIZE
 #define UTX_HOSTSIZE   _UTX_HOSTSIZE
@@ -79,7 +79,7 @@
  * entries using routines described in getutxent(3).
  */
 struct utmpx {
-       char ut_name[_UTX_NAMESIZE];    /* login name */
+       char ut_user[_UTX_USERSIZE];    /* login name */
        char ut_id[_UTX_IDSIZE];        /* inittab id */
        char ut_line[_UTX_LINESIZE];    /* tty name */
        char ut_host[_UTX_HOSTSIZE];    /* host name */



Home | Main Index | Thread Index | Old Index