Further fixes for FreeBSD

This fixes a lot more issues for FreeBSD, including update for continuity vendor.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-05-09 15:24:22 +01:00
parent b53105ed25
commit 699f846813
16 changed files with 138 additions and 12 deletions

View File

@@ -122,7 +122,7 @@ func handleLChmod(hdr *tar.Header, path string, hdrInfo os.FileInfo) error {
func getxattr(path, attr string) ([]byte, error) {
b, err := sysx.LGetxattr(path, attr)
if err == syscall.ENOTSUP || err == syscall.ENODATA {
if err == syscall.ENOTSUP || err == sysx.ENODATA {
return nil, nil
}
return b, err