diff options
| author | Jack O'Connor <[email protected]> | 2020-06-24 17:51:41 -0400 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-06-24 18:02:16 -0400 |
| commit | e0f193ddc9c0400262dae4118b0660ae8d70586e (patch) | |
| tree | 4a64b84b847db4703896dabf3c1287e16b1df871 /b3sum/src | |
| parent | 4c41a893a00a3ebe7b24529531ccf96d8593a57c (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.rs | 2 |
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); } } } |
