From 2393b468a4703be81f1d38ea7968931d30046087 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 15 Oct 2012 00:44:31 +0200 Subject: [PATCH] lvmetad: fix previous commit Ooops patch conversion for gcc cleanup missed this line. --- lib/cache/lvmetad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c index a3b45d574..f7d250e5c 100644 --- a/lib/cache/lvmetad.c +++ b/lib/cache/lvmetad.c @@ -677,7 +677,7 @@ int lvmetad_pv_found(const struct id *pvid, struct device *device, const struct if (!pvmeta) return_0; - info = lvmcache_info_from_pvid((const char *)&pvid, 0); + info = lvmcache_info_from_pvid((const char *)pvid, 0); if (!(pvmeta->root = make_config_node(pvmeta, "pv", NULL, NULL))) { dm_config_destroy(pvmeta); -- 2.43.5