summary refs log tree commit diff
path: root/db2/makedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'db2/makedb.c')
-rw-r--r--db2/makedb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db2/makedb.c b/db2/makedb.c
index a7a085adba..edc2c5f03a 100644
--- a/db2/makedb.c
+++ b/db2/makedb.c
@@ -359,7 +359,7 @@ print_database (db)
   DBC *cursor;
   int status;
 
-  status = db->cursor (db, NULL, &cursor);
+  status = db->cursor (db, NULL, &cursor, 0);
   if (status != 0)
     {
       error (0, status, gettext ("while reading database"));