From: Karel Zak Date: Tue, 22 Mar 2011 08:54:57 +0000 (+0100) Subject: lib: [fsprobe.c] fix blkid_evaluate_spec() call X-Git-Tag: v2.20-rc1~428 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9eec418383447bf1be47e7570a3cf677153a458;p=thirdparty%2Futil-linux.git lib: [fsprobe.c] fix blkid_evaluate_spec() call 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 --- 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