]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix a couple of typo in iSCSI backend
authorAurelien ROUGEMONT <beorn@binaries.fr>
Mon, 2 Aug 2010 19:52:02 +0000 (21:52 +0200)
committerDaniel Veillard <veillard@redhat.com>
Mon, 2 Aug 2010 19:52:02 +0000 (21:52 +0200)
- a pure typo error and a wrong command referenced in an error message.

src/storage/storage_backend_iscsi.c

index f34123f24e673eebd4995753e4b1eee7f926dc52..46dc1be9199dc11907b2f6f1da01e1c216692b85 100644 (file)
@@ -230,7 +230,7 @@ virStorageBackendIQNFound(virStoragePoolObjPtr pool,
 
 out:
     if (ret == IQN_MISSING) {
-        VIR_DEBUG("Could not find interface witn IQN '%s'", iqn);
+        VIR_DEBUG("Could not find interface with IQN '%s'", iqn);
     }
 
     VIR_FREE(line);
@@ -293,7 +293,7 @@ virStorageBackendCreateIfaceIQN(virStoragePoolObjPtr pool,
     if (virRun(cmdargv2, &exitstatus) < 0) {
         virStorageReportError(VIR_ERR_INTERNAL_ERROR,
                               _("Failed to run command '%s' to update iscsi interface with IQN '%s'"),
-                              cmdargv1[0], pool->def->source.initiator.iqn);
+                              cmdargv2[0], pool->def->source.initiator.iqn);
         goto out;
     }