Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libpthread_dbg Fix format strings.
details: https://anonhg.NetBSD.org/src/rev/22e0d0c0ffd3
branches: trunk
changeset: 349123:22e0d0c0ffd3
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Nov 24 19:26:32 2016 +0000
description:
Fix format strings.
diffstat:
tests/lib/libpthread_dbg/t_threads.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r bbc5d78360a0 -r 22e0d0c0ffd3 tests/lib/libpthread_dbg/t_threads.c
--- a/tests/lib/libpthread_dbg/t_threads.c Thu Nov 24 17:12:23 2016 +0000
+++ b/tests/lib/libpthread_dbg/t_threads.c Thu Nov 24 19:26:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_threads.c,v 1.6 2016/11/22 03:21:46 kamil Exp $ */
+/* $NetBSD: t_threads.c,v 1.7 2016/11/24 19:26:32 joerg Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_threads.c,v 1.6 2016/11/22 03:21:46 kamil Exp $");
+__RCSID("$NetBSD: t_threads.c,v 1.7 2016/11/24 19:26:32 joerg Exp $");
#include <dlfcn.h>
#include <pthread.h>
@@ -164,7 +164,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -235,7 +235,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -313,7 +313,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -395,7 +395,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -470,7 +470,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -545,7 +545,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -628,7 +628,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
@@ -706,7 +706,7 @@
ATF_REQUIRE(td_close(main_ta) == TD_ERR_OK);
ATF_REQUIRE_EQ_MSG(count, max_threads + 1,
- "counted threads (%d) != expected threads (%d)",
+ "counted threads (%d) != expected threads (%zu)",
count, max_threads + 1);
}
Home |
Main Index |
Thread Index |
Old Index