diff options
author | Jakob Unterwurzacher | 2018-08-15 13:20:40 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-08-15 13:20:40 +0200 |
commit | db4accf3a3397e2c5973aa99aae52a8f3e864e27 (patch) | |
tree | 61ad7cfc421a22735080f3c92dc279350af12084 | |
parent | 5acfbc1b2ffbd156ca7a1f2cc09084a518f1d58e (diff) |
fsck: don't print corse corruption offset
The exact ciphertext block number (4KiB granularity) is
already printed in the doRead message. Don't cause
confusion by printing the 128KiB-granularity offset as
well.
doRead 767: corrupt block #4: stupidgcm: message authentication failed
fsck: error reading file "pa/d7/d14/f10c" (inum 767): 5=input/output error
-rw-r--r-- | fsck.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ func (ck *fsckObj) file(path string) { result, status := f.Read(buf, off) if !status.Ok() { ck.markCorrupt(path) - fmt.Printf("fsck: error reading file %q (inum %d) at offset %d: %v\n", path, inum(f), off, status) + fmt.Printf("fsck: error reading file %q (inum %d): %v\n", path, inum(f), status) return } // EOF |