Skip to contentSkip to conversation

master - cleanup: typo in comment

PATCH Zdenek Kabelac 1 participant 1 message Oct 13, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=362558cd66bc08f8a46ababef66f2df21e8bd6fc
Commit:        362558cd66bc08f8a46ababef66f2df21e8bd6fc
Parent:        09a8479cb70ea2761ebd6988926017aa13fc5f5d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Oct 12 11:37:04 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Oct 13 15:22:58 2015 +0200

cleanup: typo in comment

---
 libdm/libdm-targets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libdm/libdm-targets.c +1 -1
index f22ad9c..166396c 100644
@@ -82,7 +82,7 @@ int dm_get_status_raid(struct dm_pool *mem, const char *params,
 		return_0;
 
 	if (!(s->raid_type = dm_pool_zalloc(mem, p - params)))
-		goto_bad; /* memory is freed went pool is destroyed */
+		goto_bad; /* memory is freed when pool is destroyed */
 
 	if (!(s->dev_health = dm_pool_zalloc(mem, i + 1)))
 		goto_bad;