chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
387a827
)
fix spelling in comment
author
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 13 Nov 2008 19:46:25 +0000
(20:46 +0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 13 Nov 2008 19:46:25 +0000
(20:46 +0100)
extras/volume_id/lib/volume_id.c
patch
|
blob
|
history
diff --git
a/extras/volume_id/lib/volume_id.c
b/extras/volume_id/lib/volume_id.c
index aaaab7ed747a5746be4610b8673c3b99c1a2a690..aaa15e1e75fe8375c1391005f1cd335ce4588856 100644
(file)
--- 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
* 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 s
s
ytems 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, and volumes with left-over signatures from former
- * filesystem types. Invalid signature need to be removed from the volume
+ * filesystem types. Invalid signature
s
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
* 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)
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;
if (found && force_unique_result) {
info("conflicting signatures found, skip results\n");
return -1;