diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-13 08:55:29 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-13 08:55:29 +0000 |
commit | 0ca350a1fabe42fbc0edf151825a1cbfaad9a847 (patch) | |
tree | 2050dfb0c2bf51a30c0beddcce2a9a6ce28302ec /usr.bin | |
parent | a41b038bb544101e3af6c86377756b5834c71a26 (diff) | |
download | FreeBSD-src-0ca350a1fabe42fbc0edf151825a1cbfaad9a847.zip FreeBSD-src-0ca350a1fabe42fbc0edf151825a1cbfaad9a847.tar.gz |
Use %p to print a pointer, not %lx and a cast to (unsigned long). Yuck.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index c0cf4f8..51dab2f 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1311,6 +1311,6 @@ PrintAddr(a, b) void * a; void * b __unused; { - printf("%lx ", (unsigned long) a); + printf("%p ", a); return 0; } |