Module Name: src Committed By: tsutsui Date: Wed Apr 6 14:51:12 UTC 2011
Modified Files: src/sys/dev/dec: mcclock.c Log Message: Make this compile with options DEBUG. (PRId64 for time_t) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/dec/mcclock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/dec/mcclock.c diff -u src/sys/dev/dec/mcclock.c:1.25 src/sys/dev/dec/mcclock.c:1.26 --- src/sys/dev/dec/mcclock.c:1.25 Mon May 3 18:04:56 2010 +++ src/sys/dev/dec/mcclock.c Wed Apr 6 14:51:12 2011 @@ -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 @@ #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();