]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: move function arguments to control structure
authorSami Kerola <kerolasa@iki.fi>
Tue, 2 Feb 2016 13:40:09 +0000 (13:40 +0000)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Feb 2016 09:52:18 +0000 (10:52 +0100)
commit2dd3ba2c8566e41fc8532df35b3b5f942c37377c
tree81abc6adba257c686114e1386e4ca9607e331bf8
parent9eeba70eeda0585d224bd27ec9df8c1d7fa96dae
swapon: move function arguments to control structure

This makes reading what the code does easier.  This change also makes error
messages to prefer none-canonical device path, e.g., the one user supplied
rather than the canonical path needed internally.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/swapon.c