Skip to contentSkip to conversation

selftests: cachestat: fix typo in error message

PATCH New Anish Dabhane 1 participant 1 message May 19, 2025

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

PATCH 1/1 selftests: cachestat: fix typo in error message

Fixes a grammatical error in the output where the word 'to' was missing.

---
 tools/testing/selftests/cachestat/test_cachestat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/cachestat/test_cachestat.c +1 -1
index 632ab44737ec..1406bc9f2b87 100644
@@ -76,7 +76,7 @@ bool write_exactly(int fd, size_t filesize)
 		ssize_t write_len = write(fd, cursor, remained);
 
 		if (write_len <= 0) {
-			ksft_print_msg("Unable write random data to file.\n");
+			ksft_print_msg("Unable to write random data to file.\n");
 			ret = false;
 			goto out_free_data;
 		}
Signature · 1 line
2.49.0