X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Flinux_swap.c;h=1698e9dbf73a0014b382d9bee38077fdc0c1a740;hb=779d2d851ee5dbd4c759bb973113373897d3adce;hp=c4beeab978c9dc6711577280826087d3ed198645;hpb=90dca5ff9d927273c47cfbe365cc925add1a67e8;p=elogind.git diff --git a/extras/volume_id/lib/linux_swap.c b/extras/volume_id/lib/linux_swap.c index c4beeab97..1698e9dbf 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; }