diff options
author | Karel Zak | 2012-04-18 11:43:42 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-18 11:43:42 +0200 |
commit | 6cf8d46ceefe9a7f40c3a07f2f30128b7c1f54fe (patch) | |
tree | 6e01e3cad96e600a399cb268d3d29595efc4450c /sys-utils/swapon-common.c | |
parent | swapon: move generic code to swapon-common.c (diff) | |
download | kernel-qcow2-util-linux-6cf8d46ceefe9a7f40c3a07f2f30128b7c1f54fe.tar.gz kernel-qcow2-util-linux-6cf8d46ceefe9a7f40c3a07f2f30128b7c1f54fe.tar.xz kernel-qcow2-util-linux-6cf8d46ceefe9a7f40c3a07f2f30128b7c1f54fe.zip |
swapoff: move code from swapon.c to swapoff.c
* multipurpose binaries (symlinks) suck when used with autotools
* swapoff shares small subset of the code with swapon
* usage() and 'struct option' is unnecessary complex when shared
* shorter and simple code is easer to maintain...
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/swapon-common.c')
0 files changed, 0 insertions, 0 deletions