[app][tests][cache_test] fix the order of an error printf

This commit is contained in:
Travis Geiselbrecht
2015-07-10 00:51:21 -07:00
parent 88c923d88f
commit 440a1d50fe

View File

@@ -57,7 +57,7 @@ void clock_tests(void)
t = current_time();
//printf("%lu %lu\n", last, t);
if (TIME_LT(t, last)) {
printf("WARNING: time ran backwards: %lu < %lu\n", last, t);
printf("WARNING: time ran backwards: %lu < %lu\n", t, last);
}
last = t;
if (last - start > 5000)
@@ -72,7 +72,7 @@ void clock_tests(void)
t2 = current_time_hires();
//printf("%llu %llu\n", last, t2);
if (t2 < last) {
printf("WARNING: time ran backwards: %llu < %llu\n", last, t2);
printf("WARNING: time ran backwards: %llu < %llu\n", t2, last);
}
last = t2;
if (last - start > 5000000)