From fee2071514e0c28dc60c796795ccf1ebe78ee519 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 1 Sep 2017 16:45:56 +0200 Subject: [PATCH] autosnap: fix pathname --- cmd/autosnap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/autosnap.go b/cmd/autosnap.go index 7c69820..23dd9a0 100644 --- a/cmd/autosnap.go +++ b/cmd/autosnap.go @@ -68,7 +68,7 @@ func doAutosnap(ctx AutosnapContext, log Logger) (err error) { hadError := false for _, fs := range filesystems { // optimization: use recursive snapshots / channel programs here - log.Printf("snapshotting filesystem %s@%s", fs, snapname) + log.Printf("snapshotting filesystem %s@%s", fs.ToString(), snapname) err := zfs.ZFSSnapshot(fs, snapname, false) if err != nil { log.Printf("error snapshotting %s: %s", fs, err)