summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-10-12 11:37:04 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-10-13 15:22:58 +0200
commit362558cd66bc08f8a46ababef66f2df21e8bd6fc (patch)
treee16084be7e81a481802ad54d7ab43f09cf28dad3
parent09a8479cb70ea2761ebd6988926017aa13fc5f5d (diff)
downloadlvm2-362558cd66bc08f8a46ababef66f2df21e8bd6fc.tar.gz
cleanup: typo in comment
-rw-r--r--libdm/libdm-targets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-targets.c b/libdm/libdm-targets.c
index f22ad9c3e..166396c4b 100644
--- a/libdm/libdm-targets.c
+++ b/libdm/libdm-targets.c
@@ -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;