[v2,1/5] validation: time: fix c&p error

Message ID 1536145206-9205-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • Time-related test fixes
Related show

Commit Message

Github ODP bot Sept. 5, 2018, 11 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 694 (lumag:timer)
 ** https://github.com/Linaro/odp/pull/694
 ** Patch: https://github.com/Linaro/odp/pull/694.patch
 ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0
 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b
 **/
 test/validation/api/time/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/test/validation/api/time/time.c b/test/validation/api/time/time.c
index e24012285..27ddc97fd 100644
--- a/test/validation/api/time/time.c
+++ b/test/validation/api/time/time.c
@@ -413,7 +413,7 @@  static void time_test_wait_ns(void)
 	if (odp_time_cmp(diff, upper_limit) > 0) {
 		fprintf(stderr, "Exceed upper limit: "
 			"diff is %" PRIu64 ", upper_limit %" PRIu64 "\n",
-			odp_time_to_ns(diff), odp_time_to_ns(lower_limit));
+			odp_time_to_ns(diff), odp_time_to_ns(upper_limit));
 		CU_FAIL("Exceed upper limit\n");
 	}
 }