=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/calendar/io.c,v retrieving revision 1.17 retrieving revision 1.18 diff -c -r1.17 -r1.18 *** src/usr.bin/calendar/io.c 2001/09/27 18:19:20 1.17 --- src/usr.bin/calendar/io.c 2001/10/03 18:17:48 1.18 *************** *** 1,4 **** ! /* $OpenBSD: io.c,v 1.17 2001/09/27 18:19:20 mickey Exp $ */ /* * Copyright (c) 1989, 1993, 1994 --- 1,4 ---- ! /* $OpenBSD: io.c,v 1.18 2001/10/03 18:17:48 deraadt Exp $ */ /* * Copyright (c) 1989, 1993, 1994 *************** *** 43,49 **** #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else ! static char rcsid[] = "$OpenBSD: io.c,v 1.17 2001/09/27 18:19:20 mickey Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else ! static char rcsid[] = "$OpenBSD: io.c,v 1.18 2001/10/03 18:17:48 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 329,335 **** if (!(chdir(home) == 0 && chdir(calendarHome) == 0 && (fdin = open(calendarFile, O_RDONLY)) != -1)) ! errx(1, "no calendar file: ``%s'' or ``~/%s/%s", calendarFile, calendarHome, calendarFile); } } --- 329,335 ---- if (!(chdir(home) == 0 && chdir(calendarHome) == 0 && (fdin = open(calendarFile, O_RDONLY)) != -1)) ! errx(1, "no calendar file: ``%s'' or ``~/%s/%s''", calendarFile, calendarHome, calendarFile); } }