=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/bdes/Attic/bdes.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/bdes/Attic/bdes.c 2004/05/16 18:49:12 1.14 --- src/usr.bin/bdes/Attic/bdes.c 2007/09/02 15:19:31 1.15 *************** *** 1,4 **** ! /* $OpenBSD: bdes.c,v 1.14 2004/05/16 18:49:12 otto Exp $ */ /* $NetBSD: bdes.c,v 1.2 1995/03/26 03:33:19 glass Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: bdes.c,v 1.15 2007/09/02 15:19:31 deraadt Exp $ */ /* $NetBSD: bdes.c,v 1.2 1995/03/26 03:33:19 glass Exp $ */ /*- *************** *** 47,53 **** #if 0 static char sccsid[] = "@(#)bdes.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: bdes.c,v 1.14 2004/05/16 18:49:12 otto Exp $"; #endif #endif /* not lint */ --- 47,53 ---- #if 0 static char sccsid[] = "@(#)bdes.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: bdes.c,v 1.15 2007/09/02 15:19:31 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 200,206 **** */ argc = ac; ac = 1; ! argv = malloc((argc + 1) * sizeof(char *)); if (argv == NULL) errx(1, "out of memory"); for (i = 0; i < argc; ++i) { --- 200,206 ---- */ argc = ac; ac = 1; ! argv = calloc(argc + 1, sizeof(char *)); if (argv == NULL) errx(1, "out of memory"); for (i = 0; i < argc; ++i) {