=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/newsyslog/newsyslog.c,v retrieving revision 1.45 retrieving revision 1.46 diff -c -r1.45 -r1.46 *** src/usr.bin/newsyslog/newsyslog.c 2002/06/26 23:36:14 1.45 --- src/usr.bin/newsyslog/newsyslog.c 2002/08/12 00:42:56 1.46 *************** *** 1,4 **** ! /* $OpenBSD: newsyslog.c,v 1.45 2002/06/26 23:36:14 wcobb Exp $ */ /* * Copyright (c) 1999 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: newsyslog.c,v 1.46 2002/08/12 00:42:56 aaron Exp $ */ /* * Copyright (c) 1999 Todd C. Miller *************** *** 88,94 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.45 2002/06/26 23:36:14 wcobb Exp $"; #endif /* not lint */ #ifndef CONF --- 88,94 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.46 2002/08/12 00:42:56 aaron Exp $"; #endif /* not lint */ #ifndef CONF *************** *** 202,208 **** p = q = parse_file(&listlen); signal(SIGCHLD, child_killer); ! pidlist = (struct pidinfo *)calloc(sizeof(struct pidinfo), listlen + 1); if (pidlist == NULL) err(1, "calloc"); --- 202,208 ---- p = q = parse_file(&listlen); signal(SIGCHLD, child_killer); ! pidlist = (struct pidinfo *)calloc(listlen + 1, sizeof(struct pidinfo)); if (pidlist == NULL) err(1, "calloc");