Module Name: src
Committed By: pgoyette
Date: Thu Jan 13 03:00:41 UTC 2011
Modified Files:
src/tests/lib/libc/gen: t_randomid.c
Log Message:
Repair some printf formats
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/t_randomid.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libc/gen/t_randomid.c
diff -u src/tests/lib/libc/gen/t_randomid.c:1.1 src/tests/lib/libc/gen/t_randomid.c:1.2
--- src/tests/lib/libc/gen/t_randomid.c:1.1 Thu Jan 13 02:40:43 2011
+++ src/tests/lib/libc/gen/t_randomid.c Thu Jan 13 03:00:41 2011
@@ -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,