Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dec Make this compile with options DEBUG. (PRId64 fo...
details: https://anonhg.NetBSD.org/src/rev/49d2561ee321
branches: trunk
changeset: 763904:49d2561ee321
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Apr 06 14:51:12 2011 +0000
description:
Make this compile with options DEBUG. (PRId64 for time_t)
diffstat:
sys/dev/dec/mcclock.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r bc2442e81ab6 -r 49d2561ee321 sys/dev/dec/mcclock.c
--- a/sys/dev/dec/mcclock.c Wed Apr 06 14:12:36 2011 +0000
+++ b/sys/dev/dec/mcclock.c Wed Apr 06 14:51:12 2011 +0000
@@ -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();
Home |
Main Index |
Thread Index |
Old Index