Skip to content

Commit

Permalink
Print the correct object when writing to disk.
Browse files Browse the repository at this point in the history
  • Loading branch information
distantorigin committed Dec 11, 2018
1 parent 140d97e commit 2fa79a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_file.cc
Expand Up @@ -1090,7 +1090,7 @@ write_db_file(const char *reason)
for (oid = max_oid + 1; oid <= last_oid; oid++) {
ng_write_object(oid);
if ((oid + 1) % 10000 == 0 || oid == last_oid)
oklog("%s: Done writing %d objects ...\n", reason, last_oid - max_oid);
oklog("%s: Done writing %d objects ...\n", reason, oid + 1);
}
max_oid = last_oid;
last_oid = db_last_used_objid();
Expand Down

0 comments on commit 2fa79a6

Please sign in to comment.