diff options
author | Wolfgang Helbig <helbig@FreeBSD.org> | 1998-01-15 10:23:34 +0000 |
---|---|---|
committer | Wolfgang Helbig <helbig@FreeBSD.org> | 1998-01-15 10:23:34 +0000 |
commit | 630d15bbf9a39da3a41592ad09ed68dce52ecd80 (patch) | |
tree | 2a2fe3392a23dc48c2fa8ef24aad322fb99d3e23 /usr.bin/ncal | |
parent | c61e516832e909fc1d0e0b52bf0543bed674eb9b (diff) | |
download | src-test2-630d15bbf9a39da3a41592ad09ed68dce52ecd80.tar.gz src-test2-630d15bbf9a39da3a41592ad09ed68dce52ecd80.zip |
Notes
Diffstat (limited to 'usr.bin/ncal')
-rw-r--r-- | usr.bin/ncal/ncal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ncal/ncal.c b/usr.bin/ncal/ncal.c index 24363d6eeb6e..995bdd1e7345 100644 --- a/usr.bin/ncal/ncal.c +++ b/usr.bin/ncal/ncal.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: ncal.c,v 1.5 1998/01/07 07:46:33 charnier Exp $"; #endif /* not lint */ #include <calendar.h> @@ -340,7 +340,7 @@ usage(void) { fprintf(stderr, "%s\n%s\n%s\n", - "usage: cal [-jy] [month[year]]", + "usage: cal [-jy] [[month] year]", " ncal [-Jjpwy] [-s country_code] [[month] year]", " ncal [-Jeo] [year]"); exit(EX_USAGE); @@ -595,7 +595,7 @@ mkmonth(int y, int m, int jd_flag, struct monthlines *mlines) last = firstday(y, m + 2); if (jd_flag) - jan1 = firstday(m, 1); + jan1 = firstday(y, 1); /* * Set firstm to the day number of monday of the first week of |