]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add missing _(...) around 2 error messages in test driver
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 15:38:41 +0000 (16:38 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 15:38:54 +0000 (16:38 +0100)
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/test/test_driver.c

index b3b774d5f42583127572e4846762faf7eb22e9fd..c3bad788db09e405efd9d5fd8a87ae9435fc08a1 100644 (file)
@@ -2203,7 +2203,7 @@ testDomainSetVcpusFlags(virDomainPtr domain, unsigned int nrCpus,
 
     if (nrCpus > maxvcpus) {
         testError(VIR_ERR_INVALID_ARG,
-                  "requested cpu amount exceeds maximum (%d > %d)",
+                  _("requested cpu amount exceeds maximum (%d > %d)"),
                   nrCpus, maxvcpus);
         goto cleanup;
     }
@@ -4057,7 +4057,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
     case VIR_STORAGE_POOL_NETFS:
         if (!source || !source->hosts[0].name) {
             testError(VIR_ERR_INVALID_ARG,
-                      "%s", "hostname must be specified for netfs sources");
+                      "%s", _("hostname must be specified for netfs sources"));
             goto cleanup;
         }