]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: [fsprobe.c] fix blkid_evaluate_spec() call
authorKarel Zak <kzak@redhat.com>
Tue, 22 Mar 2011 08:54:57 +0000 (09:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Mar 2011 08:54:57 +0000 (09:54 +0100)
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 <kzak@redhat.com>
lib/fsprobe.c

index 71d15f798ee842cd4211d6bbb1ca25669fe6ef51..5a173e642003e0db3b79b88c0e939afa4fdab368 100644 (file)
@@ -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