aboutsummaryrefslogtreecommitdiff
path: root/dev_openbsd.go
diff options
context:
space:
mode:
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")
}