aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/syscallcompat/sys_common.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/syscallcompat/sys_common.go b/internal/syscallcompat/sys_common.go
index dfe5f22..3cb9ffa 100644
--- a/internal/syscallcompat/sys_common.go
+++ b/internal/syscallcompat/sys_common.go
@@ -2,7 +2,6 @@ package syscallcompat
import (
"bytes"
- "fmt"
"syscall"
"golang.org/x/sys/unix"
@@ -129,7 +128,6 @@ func Fgetxattr(fd int, attr string) (val []byte, err error) {
// Lgetxattr is a wrapper around unix.Lgetxattr that handles the buffer sizing.
func Lgetxattr(path string, attr string) (val []byte, err error) {
fn := func(buf []byte) (int, error) {
- fmt.Printf("Lgetxattr(%q, %q, buf %d)\n", path, attr, len(buf))
return unix.Lgetxattr(path, attr, buf)
}
return getxattrSmartBuf(fn)