aboutsummaryrefslogtreecommitdiff
path: root/lp.go
diff options
context:
space:
mode:
Diffstat (limited to 'lp.go')
-rw-r--r--lp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lp.go b/lp.go
index aee2d23..b10ba2a 100644
--- a/lp.go
+++ b/lp.go
@@ -15,8 +15,8 @@ func NewLP(path string) (LP, error) {
return LP{f}, err
}
-func (d LP) Close() {
- d.File.Close()
+func (d LP) Close() error {
+ return d.File.Close()
}
func (d LP) SetNonblock() {