diff options
Diffstat (limited to 'pkgtools/pkglint/files/util.go')
-rw-r--r-- | pkgtools/pkglint/files/util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/util.go b/pkgtools/pkglint/files/util.go index bd11f08ca96..e2b12e22e4e 100644 --- a/pkgtools/pkglint/files/util.go +++ b/pkgtools/pkglint/files/util.go @@ -56,7 +56,7 @@ func isEmptyDir(fname string) bool { func getSubdirs(fname string) []string { dirents, err := ioutil.ReadDir(fname) if err != nil { - fatalf(fname, NO_LINES, "Cannot be read: %s", err) + fatalf(fname, noLines, "Cannot be read: %s", err) } var subdirs []string @@ -368,7 +368,7 @@ func stringStringMapKeys(m map[string]string) []string { func abspath(fname string) string { abs, err := filepath.Abs(fname) if err != nil { - fatalf(fname, NO_LINES, "Cannot determine absolute path.") + fatalf(fname, noLines, "Cannot determine absolute path.") } return filepath.ToSlash(abs) } |