]> xenbits.xensource.com Git - libvirt.git/commitdiff
remote_driver.c: fix non-literal format strings w/o args
authorLaine Stump <laine@laine.org>
Thu, 11 Nov 2010 17:05:21 +0000 (12:05 -0500)
committerLaine Stump <laine@laine.org>
Thu, 11 Nov 2010 17:05:21 +0000 (12:05 -0500)
src/remote/remote_driver.c

index 4492b6b042fa7db09cd3ab9e48a327dca18f7751..f45476a21f19f04b7a8f1399723f233f72da69aa 100644 (file)
@@ -8481,7 +8481,7 @@ remoteStreamEventAddCallback(virStreamPtr st,
 
     if (privst->cb) {
         remoteError(VIR_ERR_INTERNAL_ERROR,
-                    _("multiple stream callbacks not supported"));
+                    "%s", _("multiple stream callbacks not supported"));
         goto cleanup;
     }
 
@@ -8521,7 +8521,7 @@ remoteStreamEventUpdateCallback(virStreamPtr st,
 
     if (!privst->cb) {
         remoteError(VIR_ERR_INTERNAL_ERROR,
-                    _("no stream callback registered"));
+                    "%s", _("no stream callback registered"));
         goto cleanup;
     }
 
@@ -8548,7 +8548,7 @@ remoteStreamEventRemoveCallback(virStreamPtr st)
 
     if (!privst->cb) {
         remoteError(VIR_ERR_INTERNAL_ERROR,
-                    _("no stream callback registered"));
+                    "%s", _("no stream callback registered"));
         goto cleanup;
     }