diff options
-rw-r--r-- | disk-utils/swaplabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/swaplabel.c b/disk-utils/swaplabel.c index a5ccb7ec3..5d048aabb 100644 --- a/disk-utils/swaplabel.c +++ b/disk-utils/swaplabel.c @@ -70,7 +70,7 @@ static blkid_probe get_swap_prober(const char *devname) /* supported is SWAPSPACE2 only */ if (blkid_probe_lookup_value(pr, "VERSION", &version, NULL) == 0 && version - && strcmp(version, "2")) + && strcmp(version, "1")) warnx(_("%s: unsupported swap version '%s'"), devname, version); else |