Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Repair some printf formats
details: https://anonhg.NetBSD.org/src/rev/a414d28ecee7
branches: trunk
changeset: 760787:a414d28ecee7
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 13 03:00:41 2011 +0000
description:
Repair some printf formats
diffstat:
tests/lib/libc/gen/t_randomid.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 0e3a7523ad64 -r a414d28ecee7 tests/lib/libc/gen/t_randomid.c
--- a/tests/lib/libc/gen/t_randomid.c Thu Jan 13 02:41:10 2011 +0000
+++ b/tests/lib/libc/gen/t_randomid.c Thu Jan 13 03:00:41 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_randomid.c,v 1.1 2011/01/13 02:40:43 pgoyette Exp $ */
+/* $NetBSD: t_randomid.c,v 1.2 2011/01/13 03:00:41 pgoyette Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -67,9 +67,10 @@
if (diff <= lowest) {
if (lowest != UINT64_MAX)
- printf("id %5d: last call at %9lld, "
- "current call %9lld (diff %5lld)"
- ", lowest %lld\n",
+ printf("id %5d: last call at %9"PRIu64
+ ", current call %9"PRIu64
+ " (diff %5"PRIu64"), "
+ "lowest %"PRIu64"\n",
id, last[id], n, diff, lowest);
ATF_REQUIRE_MSG(diff >= PERIOD,
Home |
Main Index |
Thread Index |
Old Index