summaryrefslogtreecommitdiffstats
path: root/src/core/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/debug.c')
-rw-r--r--src/core/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debug.c b/src/core/debug.c
index 3079cd4c..500a7ac0 100644
--- a/src/core/debug.c
+++ b/src/core/debug.c
@@ -106,12 +106,12 @@ int check_region ( void *region, size_t len ) {
virt_to_phys ( region + len ) );
}
in_corruption = 1;
- printf ( "--- offset %#lx ", offset );
+ printf ( "--- offset %#x ", offset );
} else if ( ( in_corruption != 0 ) &&
( test == GUARD_SYMBOL ) ) {
/* End of corruption */
in_corruption = 0;
- printf ( "to offset %#lx", offset );
+ printf ( "to offset %#x", offset );
}
}