Skip to contentSkip to conversation

selftests: timers: Improve clarity in time difference message

PATCH New Rohit Yadav 1 participant 1 message Feb 12, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: timers: Improve clarity in time difference message

---
 tools/testing/selftests/timers/posix_timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/timers/posix_timers.c +1 -1
index 9814b3a1c77d..f6e3730c63b5 100644
@@ -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