From: Karel Zak Date: Fri, 18 Sep 2009 11:18:31 +0000 (+0200) Subject: libblkid: fix probing for binary interface X-Git-Tag: v2.17-rc1~178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=958757bbd7e27adc092e037c3012ee26e1b09a0a;p=thirdparty%2Futil-linux.git libblkid: fix probing for binary interface The probing for binary interface has to always start from scratch. Signed-off-by: Karel Zak --- diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c index 421e9f1654..05f61cf061 100644 --- a/shlibs/blkid/src/probe.c +++ b/shlibs/blkid/src/probe.c @@ -254,6 +254,7 @@ void *blkid_probe_get_binary_data(blkid_probe pr, struct blkid_chain *chn) return NULL; pr->cur_chain = chn; + chn->idx = -1; /* start probing from scratch */ chn->binary = TRUE; rc = chn->driver->probe(pr, chn);