1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

add const

This commit is contained in:
Alasdair Kergon 2012-01-23 17:47:36 +00:00
parent 7c979db7a9
commit f41e4fba91

View File

@ -852,6 +852,8 @@ static int _find_config_bool(const void *start, node_lookup_fn find,
case DM_CFG_STRING:
return _str_to_bool(v->v.str, fail);
default:
;
}
return fail;
@ -861,7 +863,7 @@ static int _find_config_bool(const void *start, node_lookup_fn find,
* node-based lookup
**/
struct dm_config_node *dm_config_find_node(struct dm_config_node *cn,
struct dm_config_node *dm_config_find_node(const struct dm_config_node *cn,
const char *path)
{
return (struct dm_config_node *) _find_config_node(cn, path);