They are not changed by the function. Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> --- libblkid/src/blkid.h.in | 2 +- libblkid/src/dev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libblkid/src/blkid.h.in b/libblkid/src/blkid.h.in index ffd791ad1..a35b71388 100644 --- a/libblkid/src/blkid.h.in +++ b/libblkid/src/blkid.h.in @@ -149,7 +149,7 @@ extern const char *blkid_dev_devname(blkid_dev dev) extern blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache); extern int blkid_dev_set_search(blkid_dev_iterate iter, - char *search_type, char *search_value); + const char *search_type, const char *search_value); extern int blkid_dev_next(blkid_dev_iterate iterate, blkid_dev *dev); extern void blkid_dev_iterate_end(blkid_dev_iterate iterate); diff --git a/libblkid/src/dev.c b/libblkid/src/dev.c index 046cdce1b..056df2b86 100644 --- a/libblkid/src/dev.c +++ b/libblkid/src/dev.c @@ -148,7 +148,7 @@ blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache) } int blkid_dev_set_search(blkid_dev_iterate iter, - char *search_type, char *search_value) + const char *search_type, const char *search_value) { char *new_type, *new_value; -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html