diff options
author | Shawn Routhier <sar@isc.org> | 2012-09-19 14:27:44 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2012-09-19 14:27:44 -0700 |
commit | 67b2cb451b409b6e5a7e3e838c9352243466e795 (patch) | |
tree | 657733abd579ed059ad1f8b5965d0f1e65419609 /omapip | |
parent | 529be52a84e882afb3efcc33e8dd898dd655f0ad (diff) | |
download | isc-dhcp-67b2cb451b409b6e5a7e3e838c9352243466e795.tar.gz |
[master]
Update the memory leakage debug code to work with v6.
Diffstat (limited to 'omapip')
-rw-r--r-- | omapip/alloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/omapip/alloc.c b/omapip/alloc.c index 69172a5b..df695fb8 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -4,6 +4,7 @@ protocol... */ /* + * Copyright (c) 2012 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1999-2003 by Internet Software Consortium @@ -311,7 +312,7 @@ void dmalloc_dump_outstanding () inhistory = 1; if (!noted) { log_info (" %s(%d): %ld", dp -> file, - dp -> line, dp -> size); + dp -> line, (long) dp -> size); noted = 1; } print_rc_hist_entry (i); @@ -324,7 +325,8 @@ void dmalloc_dump_outstanding () if (!inhistory) #endif log_info (" %s(%d): %ld", - dp -> file, dp -> line, dp -> size); + dp -> file, dp -> line, + (long) dp -> size); } #endif } |