1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00

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) { 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) { func (node *Node) fillExtra(path string, fi os.FileInfo) (err error) {

View file

@ -3,7 +3,7 @@ package restic
import "os" import "os"
func (node *Node) OpenForReading() (*os.File, error) { 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 { func (node *Node) fillExtra(path string, fi os.FileInfo) error {