summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2008-08-19 01:14:14 +0200
committerKarel Zak2008-08-19 01:22:02 +0200
commit1b414d89359f79b128373a6c39cf44dc1e358306 (patch)
tree9eba3c72a44bdf19c4309c5280165f7d8301f3e2 /include
parenthwclock: don't open /dev/rtc repeatedly (diff)
downloadkernel-qcow2-util-linux-1b414d89359f79b128373a6c39cf44dc1e358306.tar.gz
kernel-qcow2-util-linux-1b414d89359f79b128373a6c39cf44dc1e358306.tar.xz
kernel-qcow2-util-linux-1b414d89359f79b128373a6c39cf44dc1e358306.zip
swapon: -a has to complain, fix leaks
The "swapon -a" command (without "-e" option) has to complain always when LABEL or UUID does not exist. Test: # grep foo /etc/fstab LABEL=foo swap swap defaults 0 0 Old version: # swapon -a; echo $? 0 Fixed version: # swapon -a; echo $? swapon: cannot find the device for LABEL=foo 255 # swapon -a -e; echo $? 0 This version also fix two memory leaks. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions