pkg/build: fix typo in error messages

This commit is contained in:
Anton Lindqvist 2018-09-10 21:32:20 +02:00 committed by Dmitry Vyukov
parent 7f125108ae
commit e9b51a9024
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ bash
fullSrc := filepath.Join(kernelDir, filepath.FromSlash(src))
fullDst := filepath.Join(outputDir, filepath.FromSlash(dst))
if err := osutil.CopyFile(fullSrc, fullDst); err != nil {
return fmt.Errorf("faied to copy %v: %v", src, err)
return fmt.Errorf("failed to copy %v: %v", src, err)
}
}
return nil

View File

@ -35,7 +35,7 @@ func (fu fuchsia) build(targetArch, vmType, kernelDir, outputDir, compiler, user
fullSrc := filepath.Join(kernelDir, filepath.FromSlash(src))
fullDst := filepath.Join(outputDir, filepath.FromSlash(dst))
if err := osutil.CopyFile(fullSrc, fullDst); err != nil {
return fmt.Errorf("faied to copy %v: %v", src, err)
return fmt.Errorf("failed to copy %v: %v", src, err)
}
}
return nil