parlib: have 2LS libraries #include parlib/stdio.h
[akaros.git] / user / parlib / hexdump.c
index 3c45fad..0f3bdbf 100644 (file)
@@ -22,7 +22,7 @@
 
 
 #include <stdlib.h>
-#include <stdio.h>
+#include <parlib/stdio.h>
 #include <unistd.h>
 
 static int isprint(int c)
@@ -54,7 +54,8 @@ void hexdump(FILE *f, void *v, int length)
                                fprintf(f," %02x", m[i + j]);
                        fprintf(f,"  ");
                        for (j = 0; j < 16; j++)
-                               fprintf(f,"%c", isprint(m[i + j]) ? m[i + j] : '.');
+                               fprintf(f, "%c",
+                                       isprint(m[i + j]) ? m[i + j] : '.');
                        fprintf(f,"\n");
                } else if (all_zero == 2) {
                        fprintf(f,"...\n");