Signed-off-by: Hannes Reinecke <hare@xxxxxxxx> --- kpartx/kpartx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c index e1ebc96..4de13fa 100644 --- a/kpartx/kpartx.c +++ b/kpartx/kpartx.c @@ -150,7 +150,7 @@ static char * get_hotplug_device(void) { unsigned int major, minor, off, len; - const char *mapname; + char *mapname; char *devname = NULL; char *device = NULL; char *var = NULL; -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel