From 6733f60178cc67d5064583d433335ce8fb25eae1 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 22 Nov 2008 00:34:42 +0100 Subject: update NEWS TODO --- extras/volume_id/lib/volume_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/volume_id') diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index a93ade6427..8bbbc38c32 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -446,7 +446,7 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size info("signature '%s' %i detected\n", id->type, i); if (id->force_unique_result) force_unique_result = 1; - if (found && force_unique_result) { + if (found > 0 && force_unique_result) { info("conflicting signatures found, skip results\n"); return -1; } -- cgit v1.2.3-54-g00ecf