[PATCH] remote_driver.c: fix non-literal format strings w/o args

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pushed another of these under the trivial rule (with correct email address
this time!).

I guess I run into these so often because I build with --disable-nls and most other people don't...

---
 src/remote/remote_driver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 4492b6b..f45476a 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -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;
     }
 
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]