save_errno botch; spotted by miod