]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swaplabel: wrong version number in check
authorSami Kerola <kerolasa@iki.fi>
Sun, 16 Feb 2014 23:54:19 +0000 (23:54 +0000)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Feb 2014 13:04:40 +0000 (14:04 +0100)
commitfce72f96d0911a7578e27430e11b857bb1b0aecf
tree81828140fb98adea1c8ddaf1dfc4251f4e1d9f22
parent272f2ea49f969c658fe7fe5d57e68eb4ee9eb306
swaplabel: wrong version number in check

$ swaplabel /dev/sda2
swaplabel: /dev/sda2: unsupported swap version '1'

The mkswap does not allow any other version, so swaplabel(8) must be
wrong.

Reference: https://github.com/karelzak/util-linux/blob/master/disk-utils/mkswap.c#L520
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/swaplabel.c