aboutsummaryrefslogtreecommitdiff
path: root/usblp.go
diff options
context:
space:
mode:
Diffstat (limited to 'usblp.go')
-rw-r--r--usblp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/usblp.go b/usblp.go
index 6a8bf55..da0dfd0 100644
--- a/usblp.go
+++ b/usblp.go
@@ -9,7 +9,7 @@ type LPDevice struct {
*os.File
}
-func NewLPDevice(path string) (LPDevice, error) {
+func NewLPDevice(path string) (Devicer, error) {
f, err := os.OpenFile(path, os.O_RDWR, 0666)
return LPDevice{f}, err
}