From 08ea03ccb9c6c671b465572e4a5c9a5d1da1fda0 Mon Sep 17 00:00:00 2001
From: "Zen Lin(Zhinan Lin)" <linzhinan@huawei.com>
Date: Sat, 28 Feb 2015 12:54:01 +0800
Subject: [PATCH] To avoid the confusing in log, change '%s' to '%q', change
 the question sentence to a reminding sentence.

Signed-off-by: Zen Lin(Zhinan Lin) <linzhinan@huawei.com>
---
 docker/docker.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/docker.go b/docker/docker.go
index a9b31564b8..7d2a3bbdbc 100644
--- a/docker/docker.go
+++ b/docker/docker.go
@@ -111,7 +111,7 @@ func main() {
 			*flTls = true
 			cert, err := tls.LoadX509KeyPair(*flCert, *flKey)
 			if err != nil {
-				log.Fatalf("Couldn't load X509 key pair: %s. Key encrypted?", err)
+				log.Fatalf("Couldn't load X509 key pair: %q. Make sure the key is encrypted", err)
 			}
 			tlsConfig.Certificates = []tls.Certificate{cert}
 		}