Skip to content

Commit

Permalink
internal/p9p: fix couple of golint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fhs committed May 11, 2021
1 parent c349537 commit 6fd7973
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/p9p/fcall.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import (
"9fans.net/go/plan9"
)

// The openfd 9P message type is from plan9port (see openfd(9)).
const (
Topenfd = 98 + iota
Ropenfd
Expand Down Expand Up @@ -131,7 +132,7 @@ func ReadFcall(r io.Reader) (*Fcall, error) {
return fc, nil
}

// Bytes unmarshals a Fcall.
// UnmarshalFcall unmarshals a Fcall.
func UnmarshalFcall(b []byte) (f *Fcall, err error) {
ob := b[:]
n, b := gbit32(b)
Expand Down

0 comments on commit 6fd7973

Please sign in to comment.