libxl/libxl_colo_qdisk.c: used LOG*D functions
authorCedric Bosdonnat <cbosdonnat@suse.com>
Fri, 2 Dec 2016 15:08:16 +0000 (16:08 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sat, 3 Dec 2016 15:57:33 +0000 (15:57 +0000)
Use LOG*D logging functions where possible instead of the LOG* ones.

Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_colo_qdisk.c

index d271d1fa02fdb02fd97e4a8f61d959fa77d6bfc9..303b96edbdc4c1c382d08448d11cb2b8c57b206a 100644 (file)
@@ -84,7 +84,7 @@ static void colo_qdisk_setup(libxl__egc *egc, libxl__checkpoint_device *dev,
             crs->port = port;
         } else {
             if (strcmp(crs->host, host) || strcmp(crs->port, port)) {
-                LOG(ERROR, "The host and port of all disks must be the same");
+                LOGD(ERROR, domid, "The host and port of all disks must be the same");
                 rc = ERROR_FAIL;
                 goto out;
             }