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