Progress indicators bug-fixes

This commit is contained in:
Guru Prasad Srinivasa
2016-03-01 15:31:43 -05:00
parent b5858e4360
commit 352e6b5b96
4 changed files with 6 additions and 3 deletions

View File

@@ -81,10 +81,10 @@ main(int argc, char *argv[])
if (r < 0) {
err(1, "%s: write", filename);
}
nprintf(".");
else if (r != 1) {
errx(1, "%s: write: Unexpected result count %d", filename, r);
}
nprintf(".");
// Now check this byte.
// First seek to the beginning and then seek back to where the byte