aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-08-03 11:47:01 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-08-03 11:47:01 +0300
commit6311c6b4d7ebe989447151a3e0f8b8ae0b5997d3 (patch)
treed026a5b3bb4d8a22ea0bddc70a30905f026f0af3
parent1059526e357da1aa92e5c020332f4b39ceb37503 (diff)
downloadgdbm-6311c6b4d7ebe989447151a3e0f8b8ae0b5997d3.tar.gz
gdbm-6311c6b4d7ebe989447151a3e0f8b8ae0b5997d3.tar.bz2
Bugfix
* src/gdbmopen.c (gdbm_avail_table_valid_p): Fix improper use of the GDBM_DEBUG macro.
-rw-r--r--src/gdbmopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmopen.c b/src/gdbmopen.c
index dc5a89e..908887c 100644
--- a/src/gdbmopen.c
+++ b/src/gdbmopen.c
@@ -99,7 +99,7 @@ gdbm_avail_table_valid_p (GDBM_FILE dbf, avail_elem *av, int count)
if (needs_sorting && dbf->read_write)
{
- GDBM_DEBUG (GDBM_DEBUG_ERR, "restoring sort order");
+ GDBM_DEBUG (GDBM_DEBUG_ERR, "%s", "restoring sort order");
qsort (av, count, sizeof av[0], avail_comp);
}

Return to:

Send suggestions and report system problems to the System administrator.