X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_sprintf.c;h=dbc700f63429fa6f3aeb81f45f99ed6d14e97a95;hb=6fa605075d1944da0a88a389122ea24bbc583329;hp=6403007848ff5ce3cd79fc1b68a4579246122538;hpb=94f67717b6461df514dc225ed84f03b44c44061b;p=palacios.git diff --git a/palacios/src/palacios/vmm_sprintf.c b/palacios/src/palacios/vmm_sprintf.c index 6403007..dbc700f 100644 --- a/palacios/src/palacios/vmm_sprintf.c +++ b/palacios/src/palacios/vmm_sprintf.c @@ -575,35 +575,35 @@ void v3_hexdump(const void * ptr, int length, const char * hdr, int flags) { cp = ptr; for (i = 0; i < length; i+= cols) { if (hdr != NULL) - V3_Print("%s", hdr); + V3_Print(VM_NONE, VCORE_NONE, "%s", hdr); if ((flags & HD_OMIT_COUNT) == 0) - V3_Print("%04x ", i); + V3_Print(VM_NONE, VCORE_NONE, "%04x ", i); if ((flags & HD_OMIT_HEX) == 0) { for (j = 0; j < cols; j++) { k = i + j; if (k < length) - V3_Print("%c%02x", delim, cp[k]); + V3_Print(VM_NONE, VCORE_NONE, "%c%02x", delim, cp[k]); else - V3_Print(" "); + V3_Print(VM_NONE, VCORE_NONE, " "); } } if ((flags & HD_OMIT_CHARS) == 0) { - V3_Print(" |"); + V3_Print(VM_NONE, VCORE_NONE, " |"); for (j = 0; j < cols; j++) { k = i + j; if (k >= length) - V3_Print(" "); + V3_Print(VM_NONE, VCORE_NONE, " "); else if (cp[k] >= ' ' && cp[k] <= '~') - V3_Print("%c", cp[k]); + V3_Print(VM_NONE, VCORE_NONE, "%c", cp[k]); else - V3_Print("."); + V3_Print(VM_NONE, VCORE_NONE, "."); } - V3_Print("|"); + V3_Print(VM_NONE, VCORE_NONE, "|"); } - V3_Print("\n"); + V3_Print(VM_NONE, VCORE_NONE, "\n"); } }