From 17e3d1427220f100471e5b940188c8f981fd4bec Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 24 May 2014 08:26:05 +0200 Subject: [PATCH] Correct formatting of warning messages --- model/puller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/puller.go b/model/puller.go index 34e92f34e..39a4bc273 100644 --- a/model/puller.go +++ b/model/puller.go @@ -246,7 +246,7 @@ func (p *puller) fixupDirectories() { if !scanner.PermsEqual(cur.Flags, uint32(info.Mode())) { err := os.Chmod(path, os.FileMode(cur.Flags)&os.ModePerm) if err != nil { - l.Warnln("Restoring folder flags: %q: %v", path, err) + l.Warnf("Restoring folder flags: %q: %v", path, err) } else { changed++ if debug { @@ -259,7 +259,7 @@ func (p *puller) fixupDirectories() { t := time.Unix(cur.Modified, 0) err := os.Chtimes(path, t, t) if err != nil { - l.Warnln("Restoring folder modtime: %q: %v", path, err) + l.Warnf("Restoring folder modtime: %q: %v", path, err) } else { changed++ if debug {