]> git.ipfire.org Git - thirdparty/util-linux.git/commit
zramctl: improve option combination error messaging
authorSami Kerola <kerolasa@iki.fi>
Wed, 6 Aug 2014 09:35:30 +0000 (10:35 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Aug 2014 12:47:08 +0000 (14:47 +0200)
commit1fa6c3e0b963ef5da43607fcec682541b40dcab1
treebc7794c5423ad13c9922fcd8d92b8d659c028302
parent2b0c19b03c1a2bf5238aa2543e8d7dd505304ed0
zramctl: improve option combination error messaging

Use of --algorithm or --streams is not expected to work without
reseting device, that happens when --size is specified, so ensure the
former options to be combined with the later.

[kzak@redhat.com: - make it more generic]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/zramctl.c