Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/newsmips/newsmips Fix printf format string. (recen...
details: https://anonhg.NetBSD.org/src/rev/bd48066e6490
branches: trunk
changeset: 495483:bd48066e6490
user: tsubai <tsubai%NetBSD.org@localhost>
date: Sat Jul 29 11:11:53 2000 +0000
description:
Fix printf format string. (recently SECDAY changed from unsigned long to int)
diffstat:
sys/arch/newsmips/newsmips/clock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 40efcce8efc0 -r bd48066e6490 sys/arch/newsmips/newsmips/clock.c
--- a/sys/arch/newsmips/newsmips/clock.c Sat Jul 29 10:56:19 2000 +0000
+++ b/sys/arch/newsmips/newsmips/clock.c Sat Jul 29 11:11:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.6 1999/12/22 05:55:26 tsubai Exp $ */
+/* $NetBSD: clock.c,v 1.7 2000/07/29 11:11:53 tsubai Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -153,7 +153,7 @@
deltat = -deltat;
if (deltat < 2 * SECDAY)
return;
- printf("WARNING: clock %s %ld days",
+ printf("WARNING: clock %s %d days",
time.tv_sec < base ? "lost" : "gained", deltat / SECDAY);
}
printf(" -- CHECK AND RESET THE DATE!\n");
Home |
Main Index |
Thread Index |
Old Index