Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/messages.h
          +++ new/usr/src/cmd/oamuser/user/messages.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  22   22  /*        All Rights Reserved   */
  23   23  
  24   24  
  25   25  /*
       26 + * Copyright (c) 2013 Gary Mills
       27 + *
  26   28   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   29   * Use is subject to license terms.
  28   30   */
  29   31  
  30   32  #ifndef _MESSAGES_H
  31   33  #define _MESSAGES_H
  32   34  
  33      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  34      -
  35   35  extern void errmsg(int, ...);
  36   36  
  37   37  /* WARNING: uid %d is reserved. */
  38   38  #define M_RESERVED              0
  39   39  
  40   40  /* WARNING: more than NGROUPS_MAX(%d) groups specified. */
  41   41  #define M_MAXGROUPS     1
  42   42  
  43   43  /* ERROR: invalid syntax.\nusage:  useradd ... */
  44   44  #define M_AUSAGE                2
↓ open down ↓ 97 lines elided ↑ open up ↑
 142  142  
 143  143  /* ERROR: Users must be modified with usermod */
 144  144  #define M_ISUSER        35
 145  145  
 146  146  /* WARNING: gid %d is reserved. */
 147  147  #define M_RESERVED_GID          36
 148  148  
 149  149  /* ERROR: Failed to read /etc/group file due to invalid entry or read error. */
 150  150  #define M_READ_ERROR    37
 151  151  
      152 +/* ERROR: %s is too long.  Choose another. */
      153 +#define M_TOO_LONG      38
      154 +
 152  155  #endif /* _MESSAGES_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX