=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/calendar/io.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/calendar/io.c 2004/01/14 23:54:11 1.25 +++ src/usr.bin/calendar/io.c 2004/06/02 14:58:46 1.26 @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.25 2004/01/14 23:54:11 millert Exp $ */ +/* $OpenBSD: io.c,v 1.26 2004/06/02 14:58:46 tom Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else -static char rcsid[] = "$OpenBSD: io.c,v 1.25 2004/01/14 23:54:11 millert Exp $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.26 2004/06/02 14:58:46 tom Exp $"; #endif #endif /* not lint */ @@ -178,7 +178,7 @@ int len = l1 + l2 + 2; if ((cur_evt->ldesc = malloc(len)) == NULL) - err(1, "malloc"); + err(1, NULL); snprintf(cur_evt->ldesc, len, "\t%s %s", prefix, p + 1); } else if ((cur_evt->ldesc =