From: TJ Date: Sun, 31 Oct 2010 01:47:55 +0000 (+0000) Subject: Add column headers to output X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=pagetables.git;a=commitdiff_plain;h=HEAD Add column headers to output --- diff --git a/pagetables.c b/pagetables.c index ed39339..cd69c1b 100644 --- a/pagetables.c +++ b/pagetables.c @@ -88,7 +88,8 @@ main(int argc, char *argv[], char *env[]) { unsigned int virtual; unsigned int physical; unsigned int count; - fprintf(stderr, "Processing...\n"); + fprintf(stderr, "Processing...\n" + " Virtual Physical Count\n"); for (offset = 0; offset <= end; offset += 12) { virtual = *(unsigned int *)(f + offset); physical = *(unsigned int *)(f + offset + 4);