Skip to content

Commit

Permalink
disk: log, add missing space (Chia-Network#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericosilva authored May 7, 2021
1 parent b9e5143 commit 632c9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/disk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct FileDisk {
readPos = begin + amtread;
if (amtread != length) {
std::cout << "Only read " << amtread << " of " << length << " bytes at offset "
<< begin << " from " << filename_ << "with length " << writeMax
<< begin << " from " << filename_ << " with length " << writeMax
<< ". Error " << ferror(f_) << ". Retrying in five minutes." << std::endl;
// Close, Reopen, and re-seek the file to recover in case the filesystem
// has been remounted.
Expand Down Expand Up @@ -211,7 +211,7 @@ struct FileDisk {
writeMax = writePos;
if (amtwritten != length) {
std::cout << "Only wrote " << amtwritten << " of " << length << " bytes at offset "
<< begin << " to " << filename_ << "with length " << writeMax
<< begin << " to " << filename_ << " with length " << writeMax
<< ". Error " << ferror(f_) << ". Retrying in five minutes." << std::endl;
// Close, Reopen, and re-seek the file to recover in case the filesystem
// has been remounted.
Expand Down

0 comments on commit 632c9d7

Please sign in to comment.