get definition of f_uname right (?)
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 18 Sep 1985 13:06:23 +0000 (05:06 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 18 Sep 1985 13:06:23 +0000 (05:06 -0800)
SCCS-vsn: usr.sbin/syslogd/syslogd.c 5.3

usr/src/usr.sbin/syslogd/syslogd.c

index c4ec67c..e8b93d0 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)syslogd.c  5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)syslogd.c  5.3 (Berkeley) %G%";
 #endif not lint
 
 #define COMPAT         /* include 4.3 Alpha compatibility */
 #endif not lint
 
 #define COMPAT         /* include 4.3 Alpha compatibility */
@@ -101,7 +101,7 @@ struct filed {
        short   f_file;                 /* file descriptor */
        u_char  f_pmask[LOG_NFACILITIES];       /* priority mask */
        union {
        short   f_file;                 /* file descriptor */
        u_char  f_pmask[LOG_NFACILITIES];       /* priority mask */
        union {
-               char    f_uname[UNAMESZ+1][MAXUNAMES];
+               char    f_uname[MAXUNAMES][UNAMESZ+1];
                struct
                {
                        char    f_hname[32];
                struct
                {
                        char    f_hname[32];