A student argued that aerobic and anaerobic respiration should produce

A student argued that aerobic and anaerobic respiration should produce the same amount of ATP. He reasoned that they both use basically the same process; only the terminal electron acceptor is different. What is the primary error in this student’s argument?