Remove an incorrect comment
fix some magic numbers
Fix case for SGIO in which sense data cannot be copied back