diff options
author | Santiago M. Mola <santi@mola.io> | 2017-04-26 13:26:51 +0200 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-04-26 13:41:46 +0200 |
commit | 45ac03181f61477d28e031725c68f938cb379554 (patch) | |
tree | e1a636db10a31df84dd05fb312586a77b860dd79 /utils/merkletrie/internal/fsnoder | |
parent | 9e4f992d9633dd1ac8cc0b5bcd92b377190a9a03 (diff) | |
download | go-git-45ac03181f61477d28e031725c68f938cb379554.tar.gz |
fix format string issues as found by go vet
Diffstat (limited to 'utils/merkletrie/internal/fsnoder')
-rw-r--r-- | utils/merkletrie/internal/fsnoder/new.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/merkletrie/internal/fsnoder/new.go b/utils/merkletrie/internal/fsnoder/new.go index 1e33020..ab749fd 100644 --- a/utils/merkletrie/internal/fsnoder/new.go +++ b/utils/merkletrie/internal/fsnoder/new.go @@ -34,7 +34,7 @@ func decodeDir(data []byte, isRoot bool) (*dir, error) { var name string switch end := bytes.IndexRune(data, dirStartMark); end { case -1: - return nil, fmt.Errorf("%c not found") + return nil, fmt.Errorf("%c not found", dirStartMark) case 0: if isRoot { name = "" |