aboutsummaryrefslogtreecommitdiff
path: root/dev_openbsd.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-25 14:30:18 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-25 14:30:18 +0200
commit91489f1134568813fd5fac1e651d21cfd91e4ccd (patch)
tree23ed18304426d6f64a0e781b0b2315e56e4ecc9d /dev_openbsd.go
parentdf0f1c3f0ca7264c44012ac657d1f7168f864965 (diff)
wip
Diffstat (limited to 'dev_openbsd.go')
-rw-r--r--dev_openbsd.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev_openbsd.go b/dev_openbsd.go
index edba157..46eaa94 100644
--- a/dev_openbsd.go
+++ b/dev_openbsd.go
@@ -2,9 +2,5 @@ package robo
func Open() (Device, error) {
// note: ulpt* doesn't support read(), thus this dev is broken atm.
- dev, err := NewLP("/dev/ulpt0")
- if err != nil {
- return Device{}, nil
- }
- return Device{dev}
+ return NewLP("/dev/ulpt0")
}