aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usblp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/usblp.go b/usblp.go
index b6cf987..6a8bf55 100644
--- a/usblp.go
+++ b/usblp.go
@@ -15,7 +15,7 @@ func NewLPDevice(path string) (LPDevice, error) {
}
func (d LPDevice) Close() {
- d.Close()
+ d.File.Close()
}
func (d LPDevice) Handle() *bufio.ReadWriter {