summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:12:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:12:55 +0000
commit0cf780020b3f57b09a698b9765e28545e33ec069 (patch)
treebc71a9572dc2e5ccb9e0340204e8a06177ced433 /usr.bin/calendar
parent4ce9e5126b2a7866026b751775921181dd268138 (diff)
Kill extra newline in err()/warn().
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/io.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index 2974d688e2e..3169ab3cf2b 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.1 1996/12/05 06:04:40 millert Exp $ */
+/* $OpenBSD: io.c,v 1.2 1997/09/12 04:12:48 millert 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.1 1996/12/05 06:04:40 millert Exp $";
+static char rcsid[] = "$OpenBSD: io.c,v 1.2 1997/09/12 04:12:48 millert Exp $";
#endif
#endif /* not lint */
@@ -253,7 +253,8 @@ opencal()
chdir(getenv("HOME"));
if (!(chdir(calendarHome) == 0 &&
freopen(calendarFile, "r", stdin)))
- errx(1, "no calendar file: ``%s'' or ``~/%s/%s\n", calendarFile, calendarHome, calendarFile);
+ errx(1, "no calendar file: ``%s'' or ``~/%s/%s",
+ calendarFile, calendarHome, calendarFile);
}
}
if (pipe(pdes) < 0)