summaryrefslogtreecommitdiff
path: root/checkdir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-01 11:56:33 +0100
committerJakob Unterwurzacher2015-11-01 11:56:33 +0100
commit14276c96328a1a1ad2b354c65d8db7fa720559e1 (patch)
tree925c5476446d610603addff9bfd5965a061c70fd /checkdir.go
parent76311b60f2e208dbd93e1e7b6e9794770c14fede (diff)
Fix missing printf arguments discovered by "go vet"
Diffstat (limited to 'checkdir.go')
-rw-r--r--checkdir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkdir.go b/checkdir.go
index b597834..9614d7d 100644
--- a/checkdir.go
+++ b/checkdir.go
@@ -27,7 +27,7 @@ func checkDir(dir string) error {
return err
}
if !fi.IsDir() {
- return fmt.Errorf("%s is not a directory")
+ return fmt.Errorf("%s is not a directory", dir)
}
return nil
}