Fix debug line and only check the media change if the io operation succeeds.
commite1911e33364b349e602da528fabd6e827a55ec3c
authordizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 2 May 2015 15:18:55 +0000 (2 15:18 +0000)
committerdizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 2 May 2015 15:18:55 +0000 (2 15:18 +0000)
tree499504ebd07176e3f74f20e3162799d2ee3c03eb
parente34ca8c567859cab6da6d92f2835ebf8a1713ed0
Fix debug line and only check the media change if the io operation succeeds.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50580 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/devs/ahci/ahci_cam_aros.c