The aircraft flew from Sydney to Johannesburg with a spare engine