summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/mem.cpp
authordrw <drw>2003-06-11 02:04:00 (UTC)
committer drw <drw>2003-06-11 02:04:00 (UTC)
commitd47a08d2f8944deb1ee0945075c3443de82442ea (patch) (unidiff)
tree807387a6bf5cfd9b445f14e6560118cc652e1868 /noncore/settings/aqpkg/mem.cpp
parent57d61689f8212e317d8f578dc29cb63f572caf81 (diff)
downloadopie-d47a08d2f8944deb1ee0945075c3443de82442ea.zip
opie-d47a08d2f8944deb1ee0945075c3443de82442ea.tar.gz
opie-d47a08d2f8944deb1ee0945075c3443de82442ea.tar.bz2
Some missing/fixed tr()s for HEAD
Diffstat (limited to 'noncore/settings/aqpkg/mem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mem.cpp b/noncore/settings/aqpkg/mem.cpp
index 5f32a26..4c6117b 100644
--- a/noncore/settings/aqpkg/mem.cpp
+++ b/noncore/settings/aqpkg/mem.cpp
@@ -90,21 +90,21 @@ void RemoveTrack(long addr)
90 allocList.remove((*i)); 90 allocList.remove((*i));
91 found = true; 91 found = true;
92 break; 92 break;
93 } 93 }
94 } 94 }
95} 95}
96 96
97void DumpUnfreed() 97void DumpUnfreed()
98{ 98{
99 AllocList::iterator i; 99 AllocList::iterator i;
100 long totalSize = 0; 100 long totalSize = 0;
101 char buf[1024]; 101 char buf[1024];
102 102 // Debug output, okay to leave untranslated
103 for(i = allocList.begin(); i != allocList.end(); i++) { 103 for(i = allocList.begin(); i != allocList.end(); i++) {
104 sprintf(buf, "%-15s: LINE %ld, ADDRESS %ld %ld unfreed", 104 sprintf(buf, "%-15s: LINE %ld, ADDRESS %ld %ld unfreed",
105 (*i)->file, (*i)->line, (*i)->address, (*i)->size); 105 (*i)->file, (*i)->line, (*i)->address, (*i)->size);
106 totalSize += (*i)->size; 106 totalSize += (*i)->size;
107 } 107 }
108 sprintf(buf, "-----------------------------------------------------------\n"); 108 sprintf(buf, "-----------------------------------------------------------\n");
109 sprintf(buf, "Total Unfreed: %ld bytes\n", totalSize); 109 sprintf(buf, "Total Unfreed: %ld bytes\n", totalSize);
110}; 110};