fix darwin

This commit is contained in:
Florian Weingarten 2015-04-25 13:02:19 -04:00
parent 87a1946417
commit 4aea591b96
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import (
)
func (node *Node) OpenForReading() (*os.File, error) {
return os.Open(n.path)
return os.Open(node.path)
}
func (node *Node) fillExtra(path string, fi os.FileInfo) (err error) {

View File

@ -3,7 +3,7 @@ package restic
import "os"
func (node *Node) OpenForReading() (*os.File, error) {
return os.Open(n.path)
return os.Open(node.path)
}
func (node *Node) fillExtra(path string, fi os.FileInfo) error {