Removed save_errno() function