summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 01:09:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 01:09:16 +0000
commitc3e078a2822a1b97cba17f20c5d017f392be3581 (patch)
tree3c44961b1de1bde0dbf05e7c4e03b904cb1324ed /usr.bin
parent1e763e515d5009ce90f98afea3d58c212e1e3611 (diff)
nothing important...
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cal/cal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cal/cal.c b/usr.bin/cal/cal.c
index 51d1ef96aef..f2bb5608785 100644
--- a/usr.bin/cal/cal.c
+++ b/usr.bin/cal/cal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cal.c,v 1.5 1998/03/30 06:59:23 deraadt Exp $ */
+/* $OpenBSD: cal.c,v 1.6 1998/04/25 01:09:15 deraadt Exp $ */
/* $NetBSD: cal.c,v 1.6 1995/03/26 03:10:24 glass Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cal.c 8.4 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: cal.c,v 1.5 1998/03/30 06:59:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cal.c,v 1.6 1998/04/25 01:09:15 deraadt Exp $";
#endif
#endif /* not lint */
@@ -146,7 +146,7 @@ main(argc, argv)
time_t now;
int ch, month, year, yflag;
- yflag = 0;
+ yflag = year = 0;
while ((ch = getopt(argc, argv, "jy")) != -1)
switch(ch) {
case 'j':