]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: improve grammar in error message
authorEric Blake <eblake@redhat.com>
Mon, 2 Dec 2013 21:40:15 +0000 (14:40 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 2 Dec 2013 21:40:15 +0000 (14:40 -0700)
Based on a suggestion from Mauricio Tavares.

* tools/virsh-domain.c (cmdDetachInterface, vshFindDisk): Improve
wording.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-domain.c

index 1fe138c5b49b5a585d809de97526c4d9509bfdd4..8b80e1e6ae4ad9209c230bcd4cb970615f7c466e 100644 (file)
@@ -9802,7 +9802,7 @@ cmdDetachInterface(vshControl *ctl, const vshCmd *cmd)
     obj = xmlXPathEval(BAD_CAST buf, ctxt);
     if (obj == NULL || obj->type != XPATH_NODESET ||
         obj->nodesetval == NULL || obj->nodesetval->nodeNr == 0) {
-        vshError(ctl, _("No found interface whose type is %s"), type);
+        vshError(ctl, _("No interface found whose type is %s"), type);
         goto cleanup;
     }
 
@@ -9960,7 +9960,7 @@ vshFindDisk(const char *doc,
         }
     }
 
-    vshError(NULL, _("No found disk whose source path or target is %s"), path);
+    vshError(NULL, _("No disk found whose source path or target is %s"), path);
 
 cleanup:
     xmlXPathFreeObject(obj);