diff options
| author | Ankush Patel | 2026-02-05 14:42:40 +1300 |
|---|---|---|
| committer | Ankush Patel | 2026-02-14 03:32:14 +1300 |
| commit | 903fc9d077a81d9224de4207d1672c0b1127cf42 (patch) | |
| tree | 05ae39d5ebbe41bb64d41d7e0f03df7dac596dae /internal/syscallcompat/sys_common.go | |
| parent | 3191c18f67346c95e4dbdfd16b44256ddfe20b4f (diff) | |
Added basic support for FreeBSD.
Diffstat (limited to 'internal/syscallcompat/sys_common.go')
| -rw-r--r-- | internal/syscallcompat/sys_common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/syscallcompat/sys_common.go b/internal/syscallcompat/sys_common.go index 70ee633..e95373a 100644 --- a/internal/syscallcompat/sys_common.go +++ b/internal/syscallcompat/sys_common.go @@ -138,7 +138,7 @@ func getxattrSmartBuf(fn func(buf []byte) (int, error)) ([]byte, error) { buf := make([]byte, GETXATTR_BUFSZ_SMALL) sz, err := fn(buf) // Non-existing xattr - if err == unix.ENODATA { + if err == ENODATA { return nil, err } // Underlying fs does not support security.capabilities (example: tmpfs) |
