summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/linux_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/lib/linux_swap.c')
-rw-r--r--extras/volume_id/lib/linux_swap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/volume_id/lib/linux_swap.c b/extras/volume_id/lib/linux_swap.c
index c4beeab978..1698e9dbf7 100644
--- a/extras/volume_id/lib/linux_swap.c
+++ b/extras/volume_id/lib/linux_swap.c
@@ -97,5 +97,7 @@ found_label:
found:
volume_id_set_usage(id, VOLUME_ID_OTHER);
+ /* we think this is swap, but we make sure no other signatures are found */
+ id->force_unique_result = 1;
return 0;
}