Fix some error messages

There's many more to go.
This commit is contained in:
sin
2014-11-17 16:22:01 +00:00
parent cb7cbde722
commit af8e38f5fa
5 changed files with 9 additions and 14 deletions

View File

@@ -138,7 +138,7 @@ cryptsum(struct crypt_ops *ops, FILE *fp, const char *f,
while ((n = fread(buf, 1, sizeof(buf), fp)) > 0)
ops->update(ops->s, buf, n);
if (ferror(fp)) {
weprintf("read error: %s:", f);
weprintf("%s: read error:", f);
return 1;
}
ops->sum(ops->s, md);