X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=t%2Fverify-state.c;h=95dcf3a6822e9f8113454be39dc3de46a1c965ce;hb=ac1418345a72290becb71ef9d6f9f9087acb08a2;hp=0872e29de7a2af3f720915405eb54e4b0f1e1851;hpb=639ad1eafdae77f9d8c6f9429f2ee04b5014d034;p=fio.git diff --git a/t/verify-state.c b/t/verify-state.c index 0872e29d..95dcf3a6 100644 --- a/t/verify-state.c +++ b/t/verify-state.c @@ -19,11 +19,12 @@ static void show_s(struct thread_io_list *s, unsigned int no_s) { int i; - printf("Thread %u, %s\n", no_s, s->name); - printf("Completions: %llu\n", (unsigned long long) s->no_comps); - printf("Depth: %llu\n", (unsigned long long) s->depth); - printf("Number IOs: %llu\n", (unsigned long long) s->numberio); - printf("Index: %llu\n", (unsigned long long) s->index); + printf("Thread:\t\t%u\n", no_s); + printf("Name:\t\t%s\n", s->name); + printf("Completions:\t%llu\n", (unsigned long long) s->no_comps); + printf("Depth:\t\t%llu\n", (unsigned long long) s->depth); + printf("Number IOs:\t%llu\n", (unsigned long long) s->numberio); + printf("Index:\t\t%llu\n", (unsigned long long) s->index); printf("Completions:\n"); for (i = 0; i < s->no_comps; i++) { @@ -69,9 +70,9 @@ static void show_verify_state(void *buf, size_t size) hdr->size = le64_to_cpu(hdr->size); hdr->crc = le64_to_cpu(hdr->crc); - printf("Version: %x, Size %u, crc %x\n", (unsigned int) hdr->version, - (unsigned int) hdr->size, - (unsigned int) hdr->crc); + printf("Version:\t0x%x\n", (unsigned int) hdr->version); + printf("Size:\t\t%u\n", (unsigned int) hdr->size); + printf("CRC:\t\t0x%x\n", (unsigned int) hdr->crc); size -= sizeof(*hdr); if (hdr->size != size) {