summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/p9')
-rw-r--r--pkg/p9/p9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/p9/p9.go b/pkg/p9/p9.go
index 25530adca..6039f5a42 100644
--- a/pkg/p9/p9.go
+++ b/pkg/p9/p9.go
@@ -814,7 +814,7 @@ func StatToAttr(s *syscall.Stat_t, req AttrMask) (Attr, AttrMask) {
attr.Mode = FileMode(s.Mode)
}
if req.NLink {
- attr.NLink = s.Nlink
+ attr.NLink = uint64(s.Nlink)
}
if req.UID {
attr.UID = UID(s.Uid)