]> 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>
Wed, 23 Apr 2014 08:54:31 +0000 (10:54 +0200)
commit26a20690d7b2aa6c00a5ee7355e32745cf75b037
tree2afa33e47049647848997395835a6426b5defd3b
parent79d4e50a4545c7c30feb635c49f02deab969838e
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