Skip to content

Commit 259bdeb

Browse files
committed
Fixed typo
1 parent 572f392 commit 259bdeb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

serial_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
const devFolder = "/dev"
1616

17-
var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*")
17+
var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*")
1818

1919
const ioctlTcgetattr = unix.TIOCGETA
2020
const ioctlTcsetattr = unix.TIOCSETA

serial_freebsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
const devFolder = "/dev"
1616

17-
var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*")
17+
var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*")
1818

1919
// termios manipulation functions
2020

serial_openbsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
const devFolder = "/dev"
1616

17-
var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*")
17+
var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*")
1818

1919
// termios manipulation functions
2020

0 commit comments

Comments
 (0)