selftests/cachestat: fix grammar and debug prints
Subsystems (3)
PATCH 1/1 selftests/cachestat: fix grammar and debug prints
Fix minor grammar in ksft_print_msg() output for better readability.
Signed-off-by Mallikarjun Thammanavar <[email protected]>
--- tools/testing/selftests/cachestat/test_cachestat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/cachestat/test_cachestat.c +2 -2
@@ -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; }
@@ -183,7 +183,7 @@ static int test_cachestat(const char *filename, bool write_random, bool create,if (cs.nr_dirty) { ret =KSFT_FAIL ;ksft_print_msg ( -"Number of dirty should be zero after fsync.\n" ); +"Number of dirty pages should be zero after fsync.\n" ); } }else {ksft_print_msg ("Cachestat (after fsync) returned non-zero.\n" );
Signature · 1 line
2.43.0