summaryrefslogtreecommitdiff
path: root/sys/dev/dec
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2011-04-06 14:51:12 +0000
committertsutsui <tsutsui@NetBSD.org>2011-04-06 14:51:12 +0000
commit4e5bcc238840b014355f9c8495168a29c2e89d06 (patch)
tree4440102b1b6f5a881f1c6c46c779830dc38a3366 /sys/dev/dec
parent42329260906b5771c0ee4608e1082fc180001113 (diff)
Make this compile with options DEBUG. (PRId64 for time_t)
Diffstat (limited to 'sys/dev/dec')
-rw-r--r--sys/dev/dec/mcclock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/dec/mcclock.c b/sys/dev/dec/mcclock.c
index 93e196928ea..de2b19e97e8 100644
--- a/sys/dev/dec/mcclock.c
+++ b/sys/dev/dec/mcclock.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mcclock.c,v 1.25 2010/05/03 18:04:56 mhitch Exp $ */
+/* $NetBSD: mcclock.c,v 1.26 2011/04/06 14:51:12 tsutsui Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mcclock.c,v 1.25 2010/05/03 18:04:56 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcclock.c,v 1.26 2011/04/06 14:51:12 tsutsui Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -219,7 +219,8 @@ mcclock_set(todr_chip_handle_t tch, struct timeval *tvp)
#ifdef DEBUG
if (dt.dt_year != 1972)
- printf("resettodr: botch (%d, %ld)\n", yearsecs, time_second);
+ printf("resettodr: botch (%d, %" PRId64 ")\n",
+ yearsecs, time_second);
#endif
s = splclock();