diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-05-16 20:16:27 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-05-16 20:16:27 +0000 |
commit | d229eb6b67b5c6c94453a7892280742809f5ad46 (patch) | |
tree | 603876dd37d329c801bf4d1aabc96c733a18b05f /src/gdbmtool.c | |
parent | 230db2d8db54f9bd7f28169f4ce6b763304f2647 (diff) | |
download | gdbm-d229eb6b67b5c6c94453a7892280742809f5ad46.tar.gz gdbm-d229eb6b67b5c6c94453a7892280742809f5ad46.tar.bz2 |
Minor improvements
* src/gdbmtool.c (_gdbm_print_bucket_cache): Use %zu to print
size_t.
* src/gdbmtool.h (variable_unset): New proto.
(yyerror): Argument is char const *.
src/gram.y: Likewise.
* src/lex.l: Add option noinput
* src/parseopt.c (print_option_descr): Use fwrite instead of
printf.
* src/var.c: Fix initializers to suppress warnings.
Diffstat (limited to 'src/gdbmtool.c')
-rw-r--r-- | src/gdbmtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmtool.c b/src/gdbmtool.c index 258c873..c3e0faa 100644 --- a/src/gdbmtool.c +++ b/src/gdbmtool.c @@ -270,7 +270,7 @@ _gdbm_print_bucket_cache (FILE *fp, GDBM_FILE dbf) if (dbf->bucket_cache != NULL) { fprintf (fp, - _("Bucket Cache (size %d):\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++) { |