From 5795c93970de841b8bb407df95850bfa8e36879c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 3 Oct 2001 18:17:49 +0000 Subject: error printout fix; raj@cerias.purdue.edu --- usr.bin/calendar/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index a37461cec52..0b864709db7 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.17 2001/09/27 18:19:20 mickey Exp $ */ +/* $OpenBSD: io.c,v 1.18 2001/10/03 18:17:48 deraadt Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -43,7 +43,7 @@ static const char copyright[] = #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 $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.18 2001/10/03 18:17:48 deraadt Exp $"; #endif #endif /* not lint */ @@ -329,7 +329,7 @@ opencal() if (!(chdir(home) == 0 && chdir(calendarHome) == 0 && (fdin = open(calendarFile, O_RDONLY)) != -1)) - errx(1, "no calendar file: ``%s'' or ``~/%s/%s", + errx(1, "no calendar file: ``%s'' or ``~/%s/%s''", calendarFile, calendarHome, calendarFile); } } -- cgit v1.2.3