aboutsummaryrefslogtreecommitdiff
path: root/b3sum/src
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-06-24 17:51:41 -0400
committerJack O'Connor <[email protected]>2020-06-24 18:02:16 -0400
commite0f193ddc9c0400262dae4118b0660ae8d70586e (patch)
tree4a64b84b847db4703896dabf3c1287e16b1df871 /b3sum/src
parent4c41a893a00a3ebe7b24529531ccf96d8593a57c (diff)
put the file name in b3sum error output
This was previously there, but got dropped in c5c07bb337d0af7522666d05308aaf24eef3709c.
Diffstat (limited to 'b3sum/src')
-rw-r--r--b3sum/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/b3sum/src/main.rs b/b3sum/src/main.rs
index c799390..b01e5de 100644
--- a/b3sum/src/main.rs
+++ b/b3sum/src/main.rs
@@ -612,7 +612,7 @@ fn main() -> Result<()> {
let result = hash_one_input(path, &args);
if let Err(e) = result {
some_file_failed = true;
- eprintln!("{}: {}", NAME, e);
+ eprintln!("{}: {}: {}", NAME, path.to_string_lossy(), e);
}
}
}