"How did the captain spot the error"? Well the year was 1982, when computers were not available and crew had a fair idea of these important figures for a particular flight.
There was still enough automation in those days to make errors. Consider KAL007 in 1983 when a simple mistake concerning the autopilot and INS inputs had catastrophic implications.