Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix compilation with TODR_DEBUG
details: https://anonhg.NetBSD.org/src/rev/6fa1e07e3d67
branches: trunk
changeset: 332951:6fa1e07e3d67
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Oct 12 16:23:20 2014 +0000
description:
fix compilation with TODR_DEBUG
diffstat:
sys/kern/kern_todr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 370003ccda66 -r 6fa1e07e3d67 sys/kern/kern_todr.c
--- a/sys/kern/kern_todr.c Sun Oct 12 15:54:19 2014 +0000
+++ b/sys/kern/kern_todr.c Sun Oct 12 16:23:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_todr.c,v 1.35 2013/08/29 01:05:29 tls Exp $ */
+/* $NetBSD: kern_todr.c,v 1.36 2014/10/12 16:23:20 jmcneill Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_todr.c,v 1.35 2013/08/29 01:05:29 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_todr.c,v 1.36 2014/10/12 16:23:20 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -226,7 +226,7 @@
printf("%s: rtc_offset = %d\n", prefix, rtc_offset);
printf("%s: %4u/%02u/%02u %02u:%02u:%02u, (wday %d) (epoch %u.%06u)\n",
prefix,
- dt->dt_year, dt->dt_mon, dt->dt_day,
+ (unsigned)dt->dt_year, dt->dt_mon, dt->dt_day,
dt->dt_hour, dt->dt_min, dt->dt_sec,
dt->dt_wday, (unsigned)tvp->tv_sec, (unsigned)tvp->tv_usec);
}
Home |
Main Index |
Thread Index |
Old Index