From f9eec418383447bf1be47e7570a3cf677153a458 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 22 Mar 2011 09:54:57 +0100 Subject: [PATCH] lib: [fsprobe.c] fix blkid_evaluate_spec() call MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit lib/fsprobe.c:56:2: warning: passing argument 2 of ‘blkid_evaluate_spec’ from incompatible pointer type shlibs/blkid/src/blkid.h:189:14: note: expected ‘struct blkid_struct_cache **’ but argument is of type ‘blkid_cache’ Signed-off-by: Karel Zak --- lib/fsprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fsprobe.c b/lib/fsprobe.c index 71d15f798e..5a173e6420 100644 --- a/lib/fsprobe.c +++ b/lib/fsprobe.c @@ -53,7 +53,7 @@ fsprobe_parse_spec(const char *spec, char **name, char **value) char * fsprobe_get_devname_by_spec(const char *spec) { - return blkid_evaluate_spec(spec, blcache); + return blkid_evaluate_spec(spec, &blcache); } int -- 2.47.2