Skip to content

Commit

Permalink
Gofix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmigan Casebolt committed Apr 21, 2011
1 parent c080f26 commit b585b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (e SError) String() string {
}

func OpenPort(name string, baud int) (rwc io.ReadWriteCloser, err os.Error) {
f, err := os.Open(name, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK, 0666)
f, err := os.OpenFile(name, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK, 0666)
if err != nil {
return
}
Expand Down

0 comments on commit b585b21

Please sign in to comment.