diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-04-01 14:41:29 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-04-01 20:54:09 +0200 |
commit | e2ea3cd7ba998125e7d9e20981157c087c0d261b (patch) | |
tree | eef08e14c34807c4c19c354eeeb941decf656847 /lib/cache_segtype | |
parent | d58cc2c0fc7cd8fd658b03d6fabdfbdf757562c8 (diff) | |
download | lvm2-e2ea3cd7ba998125e7d9e20981157c087c0d261b.tar.gz |
cleanup: cache use const char policy
Policy should be const char pointer.
Diffstat (limited to 'lib/cache_segtype')
-rw-r--r-- | lib/cache_segtype/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c index df521c4bb..3b1214b4d 100644 --- a/lib/cache_segtype/cache.c +++ b/lib/cache_segtype/cache.c @@ -110,7 +110,7 @@ static int _cache_pool_text_import(struct lv_segment *seg, if (str && (!(argv_str = dm_pool_strdup(mem, str)) || ((int)seg->core_argc != dm_split_words(argv_str, seg->core_argc, - 0, seg->core_argv)))) + 0, (char **) seg->core_argv)))) return SEG_LOG_ERROR("core_argc and core_argv do" " not match in"); } @@ -149,7 +149,7 @@ static int _cache_pool_text_import(struct lv_segment *seg, (!(argv_str = dm_pool_strdup(mem, str)) || ((int)seg->policy_argc != dm_split_words(argv_str, seg->policy_argc, - 0, seg->policy_argv)))) + 0, (char **) seg->policy_argv)))) return SEG_LOG_ERROR("policy_argc and policy_argv do" " not match in"); } |