selftests: timers: Improve clarity in time difference message
Subsystems (3)
PATCH 1/1 selftests: timers: Improve clarity in time difference message
Signed-off-by Rohit Yadav <[email protected]>
--- tools/testing/selftests/timers/posix_timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/timers/posix_timers.c +1 -1
@@ -88,7 +88,7 @@ static int check_diff(struct timeval start, struct timeval end) diff += (end.tv_sec - start.tv_sec) *USEC_PER_SEC ;if (llabs (diff -DELAY *USEC_PER_SEC ) >USEC_PER_SEC /2 ) { -printf ("Diff too high: %lld.." , diff); +printf ("Time difference too high: %lld\n" , diff);return -1 ; }
Signature · 1 line
2.43.0