summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-13 20:46:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-13 20:46:25 +0100
commit8c7630b704f2a106a2cd6192c89e2d8a7cd0ff31 (patch)
tree78e34e9e137bac9bc117b3392a7f54c0e12b0e2e
parent387a8271207b4e921258194cf359039babbc33b9 (diff)
fix spelling in comment
-rw-r--r--extras/volume_id/lib/volume_id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c
index aaaab7ed74..aaa15e1e75 100644
--- a/extras/volume_id/lib/volume_id.c
+++ b/extras/volume_id/lib/volume_id.c
@@ -412,9 +412,9 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size
* we do not return a probing result.
*
* We can not afford to mount a volume with the wrong filesystem code and
- * possibly corrupt it. Linux ssytems have the problem of dozens of possible
+ * possibly corrupt it. Linux sytems have the problem of dozens of possible
* filesystem types, and volumes with left-over signatures from former
- * filesystem types. Invalid signature need to be removed from the volume
+ * filesystem types. Invalid signatures need to be removed from the volume
* to make the filesystem detection successful.
*
* We do not want to read that many bytes from probed floppies, skip volumes
@@ -431,7 +431,7 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size
if (match) {
info("signature '%s' detected\n", id->type);
if (id->force_unique_result)
- force_unique_result = id->force_unique_result;
+ force_unique_result = 1;
if (found && force_unique_result) {
info("conflicting signatures found, skip results\n");
return -1;