From 85477fe544dc44c58dd0d386dd810029125b42ed Mon Sep 17 00:00:00 2001 From: Cao Shufeng Date: Wed, 21 Jun 2017 16:22:34 +0800 Subject: [PATCH] use glog.Warningf when a format string is passed --- devicemapper/thin_ls_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicemapper/thin_ls_client.go b/devicemapper/thin_ls_client.go index 130172a0..29737434 100644 --- a/devicemapper/thin_ls_client.go +++ b/devicemapper/thin_ls_client.go @@ -80,7 +80,7 @@ func parseThinLsOutput(output []byte) map[string]uint64 { deviceID := fields[0] usage, err := strconv.ParseUint(fields[1], 10, 64) if err != nil { - glog.Warning("unexpected error parsing thin_ls output: %v", err) + glog.Warningf("unexpected error parsing thin_ls output: %v", err) continue }