From 958757bbd7e27adc092e037c3012ee26e1b09a0a Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 18 Sep 2009 13:18:31 +0200 Subject: [PATCH] libblkid: fix probing for binary interface The probing for binary interface has to always start from scratch. Signed-off-by: Karel Zak --- shlibs/blkid/src/probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c index 421e9f16..05f61cf0 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); -- 2.39.5