aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-29 10:36:59 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-29 10:36:59 +0300
commita2528b04a987bdbff4763edd2258622ad3141024 (patch)
tree18fafe3ac7c1208dd7e12574fc8cb0093301cd5a /src
parent120727f7c5b36bddaa3ef232dd9b105148ac7433 (diff)
downloadgdbm-a2528b04a987bdbff4763edd2258622ad3141024.tar.gz
gdbm-a2528b04a987bdbff4763edd2258622ad3141024.tar.bz2
Minor changes
* src/gdbmtool.c: Reduce memory consuption in -random mode. Some minor bugfixes as well.
Diffstat (limited to 'src')
-rw-r--r--src/gdbmtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdbmtool.c b/src/gdbmtool.c
index 6096c07..feca51e 100644
--- a/src/gdbmtool.c
+++ b/src/gdbmtool.c
@@ -299,12 +299,12 @@ _gdbm_print_bucket_cache (FILE *fp, GDBM_FILE dbf)
if (dbf->bucket_cache != NULL)
{
fprintf (fp,
- _("Bucket Cache (size %zu):\n Index: Address Changed Data_Hash \n"),
+ _("Bucket Cache (size %zu):\n Index: Address Changed Data_Hash \n"),
dbf->cache_size);
for (index = 0; index < dbf->cache_size; index++)
{
changed = dbf->bucket_cache[index].ca_changed;
- fprintf (fp, " %5d: %7lu %7s %x\n",
+ fprintf (fp, " %5d: %15lu %7s %x\n",
index,
(unsigned long) dbf->bucket_cache[index].ca_adr,
(changed ? _("True") : _("False")),

Return to:

Send suggestions and report system problems to the System administrator.