summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-03-29 15:04:46 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-03-29 15:04:46 +0000
commit5431cf3f171d63079e56d3ddb6c147be4b07cf6d (patch)
tree9d167bdcb265c685e970d994a29bc8f68eac9833 /usr.bin
parenta719475c00d88b0ef122e003161c5a3b2f14a830 (diff)
be more verbose when cleaning up the string table.
ok jfb@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/strtab.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/strtab.c b/usr.bin/cvs/strtab.c
index 9c22eda043c..ca39ffae7d7 100644
--- a/usr.bin/cvs/strtab.c
+++ b/usr.bin/cvs/strtab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strtab.c,v 1.2 2005/03/24 03:11:03 jfb Exp $ */
+/* $OpenBSD: strtab.c,v 1.3 2005/03/29 15:04:45 joris Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -116,8 +116,10 @@ cvs_strtab_cleanup(void)
unfreed = 0;
for (i = 0; i < CVS_STRTAB_NBUCKETS; i++) {
- SLIST_FOREACH(sp, &cvs_strtab[i], cs_link)
+ SLIST_FOREACH(sp, &cvs_strtab[i], cs_link) {
+ cvs_log(LP_DEBUG, "string '%s' not freed", sp->cs_str);
unfreed++;
+ }
}
if (unfreed > 0)