summaryrefslogtreecommitdiffstats
path: root/shlibs
diff options
context:
space:
mode:
authorKarel Zak2009-09-18 13:18:31 +0200
committerKarel Zak2009-09-18 13:18:31 +0200
commit958757bbd7e27adc092e037c3012ee26e1b09a0a (patch)
tree90f2cfc92c03a0ab76c25ec9c9c2d9bf2eddcea9 /shlibs
parentlibblkid: add private blkid_topology_set_*() functions (diff)
downloadkernel-qcow2-util-linux-958757bbd7e27adc092e037c3012ee26e1b09a0a.tar.gz
kernel-qcow2-util-linux-958757bbd7e27adc092e037c3012ee26e1b09a0a.tar.xz
kernel-qcow2-util-linux-958757bbd7e27adc092e037c3012ee26e1b09a0a.zip
libblkid: fix probing for binary interface
The probing for binary interface has to always start from scratch. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs')
-rw-r--r--shlibs/blkid/src/probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c
index 421e9f165..05f61cf06 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);