[ath] Fix return value check to not complain.
Compilers complain more about things, so let's keep them happy.