Add column headers to output master
authorTJ <ubuntu@tjworld.net>
Sun, 31 Oct 2010 01:47:55 +0000 (01:47 +0000)
committerTJ <ubuntu@tjworld.net>
Sun, 31 Oct 2010 01:47:55 +0000 (01:47 +0000)
pagetables.c

index ed39339..cd69c1b 100644 (file)
@@ -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);