Use %p to print a pointer, not %lx and a cast to (unsigned long). Yuck.

This commit is contained in:
Juli Mallett 2002-06-13 08:55:29 +00:00
parent bea86ac44d
commit 536ceed1fc

View file

@ -1311,6 +1311,6 @@ PrintAddr(a, b)
void * a;
void * b __unused;
{
printf("%lx ", (unsigned long) a);
printf("%p ", a);
return 0;
}