diff --git a/client/cpu9p_unix.go b/client/cpu9p_unix.go index 4525c23..e0dfe80 100644 --- a/client/cpu9p_unix.go +++ b/client/cpu9p_unix.go @@ -35,7 +35,7 @@ func (l *CPU9P) SetAttr(mask p9.SetAttrMask, attr p9.SetAttr) error { if mask.Size { if e := unix.Truncate(l.path, int64(attr.Size)); e != nil { - err = errors.Join(err, fmt.Errorf("Truncate:%w", err)) + err = errors.Join(err, fmt.Errorf("truncate:%w", err)) } } if mask.ATime || mask.MTime { diff --git a/client/cpu_freebsd.go b/client/cpu_freebsd.go index f2ed9d8..a56d89d 100644 --- a/client/cpu_freebsd.go +++ b/client/cpu_freebsd.go @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the u-root Authors. All rights reserved +// Copyright 2018-2024 the u-root Authors. All rights reserved // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/client/getattr_freebsd.go b/client/getattr_freebsd.go index 795e5a6..03d370f 100644 --- a/client/getattr_freebsd.go +++ b/client/getattr_freebsd.go @@ -21,8 +21,6 @@ import ( ) // GetAttr implements p9.File.GetAttr. -// -// Not fully implemented. func (l *CPU9P) GetAttr(req p9.AttrMask) (p9.QID, p9.AttrMask, p9.Attr, error) { qid, fi, err := l.info() if err != nil {