X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_util.c;h=029f9fda37bc98c4e2388de685ca6db33ba05c08;hb=0733f93d0fc8a20528a9ab2f21704bee5562b302;hp=0f502b3ced549a6cce734eae18014a7c1017adc4;hpb=5db3136d5331c355c188537c68005db8d2cb4eac;p=palacios.git diff --git a/palacios/src/palacios/vmm_util.c b/palacios/src/palacios/vmm_util.c index 0f502b3..029f9fd 100644 --- a/palacios/src/palacios/vmm_util.c +++ b/palacios/src/palacios/vmm_util.c @@ -22,7 +22,7 @@ #include -extern struct vmm_os_hooks * os_hooks; +extern struct v3_os_hooks * os_hooks; void PrintTraceHex(unsigned char x) { @@ -48,7 +48,7 @@ void PrintTraceMemDump(uchar_t * start, int n) { int i, j; for (i = 0; i < n; i += 16) { - PrintTrace("%8x", (start + i)); + PrintTrace("%p", (void *)(start + i)); for (j = i; (j < (i + 16)) && (j < n); j += 2) { PrintTrace(" "); PrintTraceHex(*(uchar_t *)(start + j));