aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/errors.go')
-rw-r--r--compiler_wrapper/errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler_wrapper/errors.go b/compiler_wrapper/errors.go
index 7095e37d..8cf96344 100644
--- a/compiler_wrapper/errors.go
+++ b/compiler_wrapper/errors.go
@@ -72,10 +72,10 @@ func getExitCode(err error) (exitCode int, ok bool) {
func getCCacheError(compilerCmd *command, compilerCmdErr error) (ccacheErr userError, ok bool) {
if en, ok := compilerCmdErr.(syscall.Errno); ok && en == syscall.ENOENT &&
- strings.Contains(compilerCmd.path, "ccache") {
+ strings.Contains(compilerCmd.Path, "ccache") {
ccacheErr =
newUserErrorf("ccache not found under %s. Please install it",
- compilerCmd.path)
+ compilerCmd.Path)
return ccacheErr, true
}
return ccacheErr, false