The year field is the 4 digit year (eg, 2006), not 'year - 1900' (eg

106).  Fix the comment to reflect this.
This commit is contained in:
Warner Losh 2006-03-24 06:27:34 +00:00
parent a6a3b057da
commit f9c68c6334

View File

@ -47,7 +47,7 @@
* to a struct timespec.
*/
struct clocktime {
int year; /* year - 1900 */
int year; /* year (4 digit year) */
int mon; /* month (1 - 12) */
int day; /* day (1 - 31) */
int hour; /* hour (0 - 23) */