From 4e5bcc238840b014355f9c8495168a29c2e89d06 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Wed, 6 Apr 2011 14:51:12 +0000 Subject: Make this compile with options DEBUG. (PRId64 for time_t) --- sys/dev/dec/mcclock.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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(); -- cgit