summaryrefslogtreecommitdiff
path: root/omapip
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-09-19 14:50:01 -0700
committerShawn Routhier <sar@isc.org>2012-09-19 14:50:01 -0700
commitf1dc58d8391f8ce39e7bb2930273ab2d56c03c50 (patch)
tree6450a1be0a6a5f0609953be0df60639e08f79b83 /omapip
parentb8ee38f1a50299e35c37a0eeadce30051dda7696 (diff)
downloadisc-dhcp-f1dc58d8391f8ce39e7bb2930273ab2d56c03c50.tar.gz
[v4_1_esv]
Update the memory leakage debug code to work with v6.
Diffstat (limited to 'omapip')
-rw-r--r--omapip/alloc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/omapip/alloc.c b/omapip/alloc.c
index 569ef9dd..3b16539f 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
}