From: Aurelien ROUGEMONT Date: Mon, 2 Aug 2010 19:52:02 +0000 (+0200) Subject: Fix a couple of typo in iSCSI backend X-Git-Tag: v0.8.3~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bde0033716af2d7d24729969dc01720e1d1f023;p=thirdparty%2Flibvirt.git Fix a couple of typo in iSCSI backend - a pure typo error and a wrong command referenced in an error message. --- diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c index f34123f24e..46dc1be919 100644 --- a/src/storage/storage_backend_iscsi.c +++ b/src/storage/storage_backend_iscsi.c @@ -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; }