diff options
author | Dave Reisner | 2012-08-06 17:16:12 +0200 |
---|---|---|
committer | Karel Zak | 2012-08-13 15:45:47 +0200 |
commit | 3514cc3a8f14cc39589fee3edefaa161ac1bd0a6 (patch) | |
tree | 5cb07287f9e11c784b513538165e01305e8bb099 /sys-utils/dmesg.c | |
parent | Fix non-Linux build (diff) | |
download | kernel-qcow2-util-linux-3514cc3a8f14cc39589fee3edefaa161ac1bd0a6.tar.gz kernel-qcow2-util-linux-3514cc3a8f14cc39589fee3edefaa161ac1bd0a6.tar.xz kernel-qcow2-util-linux-3514cc3a8f14cc39589fee3edefaa161ac1bd0a6.zip |
eject: return proper 0/1 from eject_cdrom()
main() expects this method to return 0 for failure and 1 for success, as
the other eject_*() methods do. Add the missing comparison of ioctl() >= 0
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.c')
0 files changed, 0 insertions, 0 deletions