Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

fix getlogin and a typo in utmp #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marguerite
Copy link

  1. binary.Read(r io.Reader, order ByteOrder, data interface{})
    Data must be a pointer to a fixed-size value or a slice of fixed-size values
    so it's a typo
  2. os.Open returns os.File which is not utmp.File, utmp.File has a lk *unix.Flock_t.
    and there's no utmp.UtmpFile but utmp.UtmpxFile according to utmp_linux.go

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant