diff options
author | Karel Zak | 2009-09-18 13:18:31 +0200 |
---|---|---|
committer | Karel Zak | 2009-09-18 13:18:31 +0200 |
commit | 958757bbd7e27adc092e037c3012ee26e1b09a0a (patch) | |
tree | 90f2cfc92c03a0ab76c25ec9c9c2d9bf2eddcea9 | |
parent | libblkid: add private blkid_topology_set_*() functions (diff) | |
download | kernel-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>
-rw-r--r-- | shlibs/blkid/src/probe.c | 1 |
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); |