@@ -175,9 +175,9 @@ test_sync(int writes_per_op)
175175 bool fs_warning = false;
176176
177177 if (writes_per_op == 1 )
178- printf ("\nCompare file sync methods using one %dK write:\n" , XLOG_BLCKSZ_K );
178+ printf ("\nCompare file sync methods using one %dkB write:\n" , XLOG_BLCKSZ_K );
179179 else
180- printf ("\nCompare file sync methods using two %dK writes:\n" , XLOG_BLCKSZ_K );
180+ printf ("\nCompare file sync methods using two %dkB writes:\n" , XLOG_BLCKSZ_K );
181181 printf ("(in wal_sync_method preference order, except fdatasync\n" );
182182 printf ("is Linux's default)\n" );
183183
@@ -391,14 +391,14 @@ static void
391391test_open_syncs (void )
392392{
393393 printf ("\nCompare open_sync with different write sizes:\n" );
394- printf ("(This is designed to compare the cost of writing 16K \n" );
394+ printf ("(This is designed to compare the cost of writing 16kB \n" );
395395 printf ("in different write open_sync sizes.)\n" );
396396
397- test_open_sync ("16K open_sync write" , 16 );
398- test_open_sync (" 8K open_sync writes" , 8 );
399- test_open_sync (" 4K open_sync writes" , 4 );
400- test_open_sync (" 2K open_sync writes" , 2 );
401- test_open_sync (" 1K open_sync writes" , 1 );
397+ test_open_sync ("16kB open_sync write" , 16 );
398+ test_open_sync (" 8kB open_sync writes" , 8 );
399+ test_open_sync (" 4kB open_sync writes" , 4 );
400+ test_open_sync (" 2kB open_sync writes" , 2 );
401+ test_open_sync (" 1kB open_sync writes" , 1 );
402402}
403403
404404/*
@@ -517,7 +517,7 @@ test_non_sync(void)
517517 /*
518518 * Test a simple write without fsync
519519 */
520- printf ("\nNon-Sync'ed %dK writes:\n" , XLOG_BLCKSZ_K );
520+ printf ("\nNon-Sync'ed %dkB writes:\n" , XLOG_BLCKSZ_K );
521521 printf (LABEL_FORMAT , "write" );
522522 fflush (stdout );
523523
0 commit comments